A web-based RPG that lets a human player fight against an array of different enemies using JavaScript prototypal inheritance.
- Enter your Name
- Choose a Class of Fighter
- Choose a weapon
- A random computer enemy is constructed.
- Click Attack - Each time the attack button is clicked, the player's chosen character and the generated enemy should attack with their weapon and health is deducted.
- As soon as either combatant reaches health of 0, the attack button is disabled and the winner is declared.
- npm install