Skip to content

AmentBRT/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Minesweeper in Command-line written in C++

Rules

Minesweeper rules are very simple. The board is divided into cells, with mines randomly distributed. To win, you need to open all the cells. The number on a cell shows the number of mines adjacent to it. Using this information, you can determine cells that are safe, and cells that contain mines. Cells suspected of being mines can be marked with a flag.

How to play

In game you can navigate by "WASD" keys;
Use "Enter" or "Space" to select,
and "F" for flag/unflag.

Also "O" key is for save and leaving game,
and "Q" for quitting.

Difficulty

  • Easy: 5 * 5 board , 4 mines
  • Normal: 12 * 12 board, 28 mines
  • Hard: 20 * 20 board, 96 mines
  • Custom

How to run

  • Download Project folder.
  • Run the EXE file. (or compile the code in presence of CLUI library)

About

Minesweeper in Command-line written in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published