python3 tools to help you get random numbers for board game
Go to file
agn-gpl 02fe62e92c
Update dice.py
2019-07-29 15:27:30 +00:00
COPYING Add files via upload 2019-07-24 06:30:23 +00:00
README.md Update README.md 2019-07-24 07:07:54 +00:00
dice.py Update dice.py 2019-07-29 15:27:30 +00:00

README.md

dice

usage:

("X", "Y", and "Z" is int)

XdY: throw X Y-side dice(s).

YcX: choose X number(s) from 1 to Y.

XsY: get the sum of X Y-side dice(s).

XsYxZ: get the sum of X Y-side dice(s) for Z times.

add "z" in front or back of the command to print the outcome in one line.

input "q" or "quit" to exit.