1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:57:46 +00:00

Minesweeper: Make things a little more friendly at the start

Rather than having the first click hit a bomb, if the first click would
hit a bomb, instead, reset the game board.

This is a (sort of) feature of Windows minesweeper, and IMO makes
playing a bit more fun :-)
This commit is contained in:
Robin Burchell 2019-05-19 21:26:51 +02:00 committed by Andreas Kling
parent 5b6e66195b
commit 40a5eb4e6e
2 changed files with 15 additions and 5 deletions

View file

@ -92,4 +92,5 @@ private:
int m_flags_left { 0 };
Face m_face { Face::Default };
bool m_chord_preview { false };
bool m_first_click { true };
};