_____ ______ __ / ___/ ____ _ ____ ____ ___ _____ / ____/____ ____ _____ ____ / /___ \__ \ / __ `// __ \ / __ \ / _ \ / ___/ / / / __ \ / __ \ / ___// __ \ / // _ \ ___/ // /_/ // /_/ // /_/ // __// / / /___ / /_/ // / / /(__ )/ /_/ // // __/ /____/ \__,_// .___// .___/ \___//_/ \____/ \____//_/ /_//____/ \____//_/ \___/ /_/ /_/
Minesweeper has very simple rules. The playing field is divided into cells, some of which are mined. To win, you need to open all the cells without hitting the mines. Numbers are displayed in open cells, each digit is the number of mines in the number of cells. Using this information, you can determine in which cells mines are found. Potential mines can be flagged.
W,A,S,D - Movement
Space, Enter - Choose option
F - Set flag
ESC - Leave programm
Run sapper_win.exe
Run sapper_linux
Report issue if you have some problems with game or files. You can compile code to make program more suitable for your device
g++ main.cpp -o sapper_win.exe -static-libstdc++ -static-libgcc
- Update your system
sudo apt-get update
- Install ncurses library
sudo apt-get install libncurses5-dev libncursesw5-dev
- Compile source code
g++ main.cpp -o sapper_linux -lncurses