Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 988 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 988 Bytes

Minesweeper

Find mines in your dark terminal.

Powered by emojis. 😉

Screenshots and instructions for playing

You can touch the field using input coordinates like 1 4 x, for example. And replace the x by the ! and ? flags (or removing the flag with c).

Touching will either trigger a bomb (that kills you) or reveal the surroundings. Revealed numbers indicates how many bombs are nearby that cell.

You win the game by marking with the flag ! all the mines (and only them, nothing else). The question mark may be used as a visual support, not affecting the game at all.

Playing

Game over

Setting up

Having g++ with C++ 17 support, just run this inside the cloned repository:

make

That's it. Compiled using my Pop!_OS. I have no idea of how to run it in other environments.

Disclaimer

I don't even really know C++, this was created cause I was bored during COVID-19 quarantine.