A command-line and text-based version of the game Minesweeper. To play, clone this repository and type


to build the executable for the game. Type


to start playing in easy mode. You can attach the -medium and -hard flags to play harder modes as well.

To uncover a cell, simply type its coordinates shown along the sides such as

2a , 10j

To mark a cell as a possible mine, type

mark 2a , mark 10j

To win, you have to uncover all the cells and mark all the mines! Have fun!


View Github