Minesweeper features a grid of clickable squares, with hidden "mines" scattered throughout the board. The objective is to clear the board (find all the mines by placing a flag) without detonating any mines, with help from clues about the number of neighboring mines in each square. Wikipedia
You will need :
- c++ compiler (example: g++)
- GNU make for building (documentation),
- SFML for graphics (for example, you can install SFML with MSYS2 using
pacman -S mingw-w64-x86_64-sfml
from MSYS2 terminal in windows)
cd minesweeper
make
This will create a build directory with the executable and the assets (images, fonts, ...)
Alternatively look in the Makefile file for compilation & linking instructions without using make
cd build
To show usage instructions run the executable using ./minesweeper
(linux) or minesweeper.exe
(win) in the terminal