The game shows "Congratulations, you win!" even when mines are flagged with incorrect numbers, as long as all safe cells are revealed.
Possible solutions:
win condition validation:
- All safe cells are revealed, AND
- All mine counts are correctly marked
Here: don't stop the game when one of the conditions aren't satisfied. Then the player can find the mistake and change it.
OR partial win
- "All safe cells found, but mine counts are incorrect"
- "Partial victory: Safe cells cleared, but X mines incorrectly marked"
Screenshot:
Steps to Reproduce
- Start any game
- Play normally but intentionally mark some cells with wrong mine counts
- Reveal all safe cells (non-mine cells)
- Game shows "Congratulations, you win!" despite incorrect markers
The game shows "Congratulations, you win!" even when mines are flagged with incorrect numbers, as long as all safe cells are revealed.
Possible solutions:
win condition validation:
Here: don't stop the game when one of the conditions aren't satisfied. Then the player can find the mistake and change it.
OR partial win
Screenshot:
Steps to Reproduce