Library for simulating dice, dice rolls, and stats on dice.
die is a dice library, for RPG and Board Game games, tools, whatever.
Emphasizes flexibility over speed.
python setup.py install
pip install --upgrade die
Author uses nose to run unittests, YMMV.
pip install --upgrade pep8 --use-mirrors nosetests
Unittests run against the following Python versions using Travis CI:
Until some docs are written have a look at demo.py.
Updated to modern style, pep8, tests, docs, travis-ci, more unittests. Py3.x support.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.