TeamGameFifteen1-Telerik / GameFifteen

Puzzle - a team project for Telerik Software Academy's High Quality Code course
MIT License
1 stars 0 forks source link

Can't play 2 consecutive games #19

Closed datavelizar closed 9 years ago

datavelizar commented 9 years ago

When typing "yes" to NewGameQuestion a SolvedByDefault message appears followed by NewGameQuestion and so on... Actually a new grid that is not solved is drawn, but SolvedByDefault message prevents from solving the newly drawn grid.

datavelizar commented 9 years ago

Added this.isGameOver = false; to StartNewGame() method in StandartFifteenTilesEngine class. Otherwise when trying to continue with a new game, "isGameOver" has value "true" since the player has already finished previous game.