Script for calculating the number of occurrences of a, or all, values given n dice with m sides.
xoldice.py <num_of_dice> <sides> <value> [(-V | -O) -R] [-c]
xoldice.py (-h | --help)
xoldice.py --version
xoldice.py 2 6 all
Lists all number of outcomes for every possible dice roll.
xoldice.py 2 6 all -O
Same as above, but sorts by number of outcomes.
xoldice.py 2 6 6
Returns the number of outcomes which yield the value six (6), using two (2) dice
with six (6) sides.
-V --sort-by-valueSort by value if<value>is 'all' (default)-O --sort-by-outcomeSort by outcome if<value>is 'all'-R --reversed-cShow calculation progress-h --helpShow this help--versionShow script version
python>= 3.0clint>= 0.3.1docopt>= 0.6.1