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:
parent
5b6e66195b
commit
40a5eb4e6e
2 changed files with 15 additions and 5 deletions
|
@ -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 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue