Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.19 KB

Status.md

File metadata and controls

48 lines (36 loc) · 1.19 KB

Status

Cpp

  • Iteration One
  • Iteration One Prime
  • Iteration Two
  • Iteration Three
  • Iteration Four
  • Iteration Five

C#

  • Iteration One
  • Iteration One Prime
  • Iteration Two
  • Iteration Three
  • Iteration Four
  • Iteration Five

Python

  • Iteration One
  • Iteration Two
  • Iteration Three
  • Iteration Four
  • Iteration Five

Iteration One

  • 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

Iteration One Prime

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