It will be responsible for the game logic. It will be used to keep track of whose turn it is, prompt the user for input, and check to see if the game has been won.
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()
Consolidate the code. We don't yet know exactly what this step entails, but we do know that we'll need to refactor our code after the tests pass, so we'll create this issue as a placeholder.