Stats
-
Forks0
-
Stars0
-
Open Issues0
-
DescriptionGraphing distribution of dice rolls
dice_distribution.py
Plot the distribution of dice rolls
Usage:
dice_distribution.py -h
usage: dice_distribution.py [-h] [-s SIDES] [-d DICE] [-r ROLLS]
dice_distribution.py: Plot dice distributions
optional arguments:
-h, --help show this help message and exit
-s SIDES, --sides SIDES
number of sides of dice, default: 6
-d DICE, --dice DICE number of dice in reach roll, default: 2
-r ROLLS, --rolls ROLLS
number of rolls, default: 100000
Example:
dice_distribution.py --side 6 --dice 10 --rolls 100000
What?
Roll x virtual dice with y sizes z times and plot the distribution
Why?
Something to code and dso
Improvements?
- None
State?
No known bugs. Works.
New
1.0
PLots the distribution of x dice with y rolls