Skip to content

njharman/die

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

die

Build status

About

die is a dice library, for RPG and Board Game games, tools, whatever.

Emphasizes flexibility over speed.

Installing

via source:

python setup.py install

via pip:

pip install --upgrade die

Testing

unittest prerequisites:

Author uses nose to run unittests, YMMV. :

pip install --upgrade pep8 --use-mirrors
nosetests

Unittests run against the following Python versions using Travis CI:

Using

Until some docs are written have a look at demo.py.

History

0.4.0

Backwards incompatible. Operators, coercions, comparisons roll die, str() no longer does)

0.3.0

Merged rolls() into roll(), renamed tuple* to, added die.items property. str() rolls die,

0.2.0

Updated to modern style, pep8, tests, docs, travis-ci, more unittests. Py3.x support.

0.1.0

Initial release.

About

Python dice library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages