- Iteration One
- Iteration One Prime
- Iteration Two
- Iteration Three
- Iteration Four
- Iteration Five
- Iteration One
- Iteration One Prime
- Iteration Two
- Iteration Three
- Iteration Four
- Iteration Five
- Iteration One
- Iteration Two
- Iteration Three
- Iteration Four
- Iteration Five
- Character, when created, has health 1000
- Character, when created, has level 1
- Character, when created, is alive
- Character can deal damage to another character, and damage is extracted from health
- When damage exceeds current health, health becomes 0 and character dies
- Dead characters cannot be healed
- Healing cannot raise health above 1000
This is out of scope of the initial exercise, but I added a few things:
- Damage depends on a D20 dice
- Normal damage is 15 times the dice roll
- Critical hit damage (dice roll 20) is double the normal
- Critical miss damage (dice roll 1) is 0
- Additional effects can be triggered by critical hit and critical miss so make the info available