Commit Graph

76 Commits

Author SHA1 Message Date
617c635206 battleman.py: Implemented healing surges, and refactored the combatant selection code in Battle 2012-03-23 12:14:00 -04:00
423d6975b4 dice.py: Renamed Dice.from_desc() to Dice.from_str()
Added some information to the readme
2012-03-23 11:16:12 -04:00
9d367b69b6 battleman.py: Refactored combatant printing code, and made it more consistent. 2012-03-22 18:32:40 -04:00
2bd533b27d battleman.py: Change list_ function names to format_, since they return strings instead of printing 2012-03-22 18:22:05 -04:00
fde1f34b30 battleman.py: Implementing healing 2012-03-22 18:21:17 -04:00
84f66955a7 battleman.py: Factored next round code into a separate function 2012-03-22 18:09:09 -04:00
e6e22d775c battleman.py: Implemented iterating over initiative order, tracking rounds, etc 2012-03-22 18:07:25 -04:00
36502d63f8 Added readme file 2012-03-22 17:58:23 -04:00
a59a4f1ea4 battleman.py: Refactored turn begin/end code 2012-03-22 17:50:50 -04:00
e40b485205 battleman.py: refactored and added error checking to input code 2012-03-22 15:18:16 -04:00
5f5fe29032 battleman.py: more formatting cleanup 2012-03-22 13:25:02 -04:00
5fd07e0ae1 battleman.py: Output formatting, added some new output when program is run 2012-03-22 12:03:44 -04:00
8704060b60 battleman.py: implemented initial code for handling damage 2012-03-21 23:27:45 -04:00
ddbc14871a battleman.py: added some extra info in list view 2012-03-21 23:03:49 -04:00
60df5f6bd0 battleman.py: did some cleanup, got Battle.begin() to work 2012-03-21 22:47:14 -04:00
38108a4d7b battleman.py: Built a Battle class and factored a bunch of relevant code into it. Still needs some cleanup. 2012-03-21 18:31:11 -04:00
9c60ed4d9c battleman.py: Fixed a very silly error with command parsing, and factored out some ugly input handling code to a lib function 2012-03-21 18:00:57 -04:00
c48218da92 battleman.py: Started adding some logic for battle groups, that contain a group of entities who share a single initiative. Also implemented the first couple main menu functions. 2012-03-21 17:58:15 -04:00
ac09d41675 battleman.py: Started implementing actual commands. 2012-03-21 13:58:59 -04:00
b04c57ac57 dice.py: Factored result printing into main() so that Dice class can be used by other scripts 2012-03-21 12:18:35 -04:00
83826f9200 dice.py: I've made a huge mistake - 'd' is a terrible letter for a modifier 2012-03-21 12:09:56 -04:00
fb1d1f01a6 dice.py: Factored string-based dice creation into a @classmethod 2012-03-21 12:08:58 -04:00
eb1c897b96 dice.py: renamed program, cleaned up both input and output formats 2012-03-21 10:57:59 -04:00
34c82f0e52 diceroller.py: Implemented argument parsing 2012-03-21 00:57:32 -04:00
364399eb52 diceroller: first stab at a robust command-line dice rolling utility 2012-03-20 18:23:53 -04:00
041c48a419 Rough sketch of a simple, command-line driven battle management tool 2012-03-20 15:53:06 -04:00