NathanaelWhite/Jest-another-RPG

Create Game Object

Closed this issue · 0 comments

Responsible for game logic. Used to keep track of whose turn it is, prompt the user input, and check to see if game has been won

  • Game obj has the following properties
  • roundNumber
  • isPlayerTurn
  • enemies
  • currentEnemy
  • player
  • Game obj has the following methods
  • initializeGame()
  • battle()
  • chackEndofBattle()
  • startNewBattle