Create a Player object that will be used to store methods and properties related to the user's character.
Opened this issue · 0 comments
Ahmed25526 commented
A Player object has the following properties:
name
health
strength
agility
A Player object has the following methods:
getStats()
getInventory()
getHealth()
getAttackValue()
isAlive()
addPotion()
usePotion()
reduceHealth()
Write appropriate tests for the Player() constructor and methods.