theredbluecube2@gmail.com 92a3b6e20a bbbb
2025-12-06 18:44:08 +03:00
2025-08-07 17:48:03 +03:00
2025-08-07 17:48:03 +03:00
2025-12-06 18:44:08 +03:00
2025-12-06 18:44:08 +03:00

Minesweeper... in the terminal!

Minesweeper is a puzzle game where the objective is to clear a rectangular board without detonating any hidden mines.

How to Play

The board consists of hidden cells, some containing mines. Uncover a cell by selecting its coordinates. If it's a mine, you lose. If it's safe, a number appears indicating how many mines are adjacent to that cell. Use logic to deduce mine locations and mark them with flags. Marking all mines with flags isn't necessary, but helps.

Clear all non-mine cells to win!

Controls

Arrows to move.
Z to reveal.
X to flag.
C to chord.
R to restart.
P to pause.
Q to quit.

You can't chord if the number isn't equal to the number of flags it's near. You can't see the board if you're paused to (help) prevent cheating. You can't flag already revealed cells.

Compilation

Make a build directory and enter it:

mkdir build
cd build

Make build files:

cmake ..

Compile and install:

make -j${nproc}
make install
Description
ascii minesweeper
Readme 199 KiB
v1.28 Latest
2025-06-30 11:27:57 +02:00
Languages
C++ 90.2%
CMake 6.8%
C 3%