codequeen69 / jest-another-RPG

0 stars 0 forks source link

Create an enemy object to store methods and properties related to the enemy that our player had to battle. #3

Open codequeen69 opened 1 year ago

codequeen69 commented 1 year ago

An Enemy object has the following properties: -name -weapon -health -strength -agility -potion An Enemy object has the following methods: -getDescription() -getHealth() -getAttackValue() -isAlive() -reduceHealth()

codequeen69 commented 1 year ago

write appropriate tests for the Enemy() constructor and methods.