Currently the Game object variable isGameOver is set to true when a mine has been selected. It also needs to be set to true when the total cells clicked is the same as totalCells - totalMines. When the isGameOver variable is true the board becomes "deactivated" ensuring that a player has truly avoided exploding Donald Trump.
Currently the Game object variable isGameOver is set to true when a mine has been selected. It also needs to be set to true when the total cells clicked is the same as
totalCells - totalMines. When the isGameOver variable is true the board becomes "deactivated" ensuring that a player has truly avoided exploding Donald Trump.