Ahmed25526/jest-another-RPG

Create an Enemy object to store methods and properties related to the enemy that our player has to battle.

Opened this issue · 0 comments

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()