8 kyu
link to kata
my solution
Create a combat function that takes the player's current health and the amount of damage received, and returns the player's new health. Health can't be less than 0.
8 kyu
link to kata
my solution
Create a combat function that takes the player's current health and the amount of damage received, and returns the player's new health. Health can't be less than 0.