Create an Enemy object to store methods and properties related to the enemy that our player has to battle.
Opened this issue · 0 comments
Ahmed25526 commented
All game logic is encompassed by a Game() constructor function.
A Game object has the following properties:
roundNumber
isPlayerTurn
enemies
currentEnemy
player
A Game object has the following methods:
initializeGame()
battle()
checkEndOfBattle()
startNewBattle()