Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-pace committed Jan 5, 2024
1 parent 40db3fa commit 68c0915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ const generateBoard = (firstTile, guaranteedSolvable) => {
autoplayTakeTurn(clickTargets, flagTargets); // One last time with empty targets, to make sure tiles are revealed and win status is checked.
solvable = gameWon;
}


tiles.forEach((tile) => {
tile.exposed = false;
tile.flagged = false;
Expand Down

0 comments on commit 68c0915

Please sign in to comment.