I was bored yesterday and I thought about rolling a Cleric or a Druid for DnD.
And I was thinking about rolling 3d6 or 4d6 dropping the lower result, and I tried to find a website to do the later. It took my a while before I could find one and I didn't liked it too much.
So, what you do when you want something and you are a developer? You do it yourself.
I played around a bit after lunch and I created one Python script to do it, and I Dockerized it.
You can roll:
1. 6 4d6 rolls, drop lower
2. 6 3d6 rolls
3. X 4d6 rolls, drop lower
4. X 3d6 rolls
And then it displays the result.
You can download the script from my GitHub:
https://github.com/david1707/docker-kubernetes-notes/tree/main/04%20-%20TTRPG%20python%20roll
Or the Docker from my DockerHub repo:
https://hub.docker.com/repository/docker/david1707/ttrpg_roller/general
docker push david1707/ttrpg_roller:v1
#Python #Docker #DnD #pathfinder