C++ version of a classic game - minesweeper.
msvc c++ 17
EasyX
Config:
Change the constants in conf.h
to modify the game.
constexpr int GRID_HEIGHT = 16;
constexpr int GRID_WIDTH = 30;
constexpr int MAX_MINES = 99;
-
MAX_MINES
should not be greater than the product ofGRIND_HEIGHT
andGRIND_WIDTH
. -
The first click will not hit mine.
Shortkeys:
LEFTCLICK
- open a cellRIGHTCLICK
- flag a cellMIDDLECLICK
- search from a cellESC
- exitR
- restart
- Black Squirrel - Winmine 31/NT4/2000+