This is a custom implementation of the classic Minesweeper game for Windows, built with C++ and the WinAPI for graphical interface rendering.
- Classic Minesweeper gameplay.
- Customizable difficulty levels (Beginner, Intermediate, Expert and Custom).
- Graphical user interface using WinAPI.
- No external dependencies, pure WinAPI.
- Timer and mine counter.
-
Clone the repository to your local machine.
git clone /~https://github.com/MarcinSkrzypek/minesweeper.git
-
Navigate to the build directory in the project.
cd minesweeper/build
-
Run CMake to configure the project and generate a Makefile.
cmake -G "MinGW Makefiles" ..
-
Build the project with MinGW Make.
mingw32-make
-
Run the game executable.
../minesweeper.exe
- Left-click on a cell to reveal it.
- Right-click on a cell to mark it with "!" or "?".
- Reset the game or change difficulty through the game menu.
This project is licensed under the MIT License. See LICENSE for more details.