diceroller.py: Refactored Dice object into its own library under lib/

This commit is contained in:
Anna Rose Wiggins 2012-03-29 22:55:39 -04:00
parent 9f740180a8
commit 796a26c3b3
3 changed files with 87 additions and 80 deletions

View file

@ -12,14 +12,14 @@ A battle manager - keeps track of initiative order, hit points, and conditions f
Battleman also aas a sense of whose turn it is, and prints a convenient message telling you who now has initiative when you enter the 'next' command.
### dice.py
A robust command-line dice-rolling utility. Many others exist, of course, but this one accepts all of its arguments as command-line parameters, making it a simple and intuitive interface.
### diceroller.py
A robust command-line dice-rolling utility. Many others exist, of course, but this one accepts all of its arguments as command-line parameters, making it a simple and intuitive interface for Linux types.
## For programmers
### dice.py
When treated as a library, provides a robust Dice class with a convenient from_str() classmethod.
### dice
A module that provides a robust Dice class with a convenient from_str() classmethod.
### battle