Skip to content

PravarAnu/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mineswepper

Minesweeper is a game where mines are hidden in a grid of squares. Safe squares have numbers telling you how many mines touch the square. You can use the number clues to solve the game by opening all of the safe squares. If you click on a mine you lose the game!

Rules to play

  • A square's "neighbors" are the squares above, below, left, right, and all 4 diagonals. Squares on the sides of the board or in a corner have fewer neighbors. The board does not wrap around the edges.

  • If you open a square with no neighboring mines, all its neighbors will automatically open. This can cause a large area to open up quickly.

  • The first square you open is never a mine

  • You just need to open all non-mine squares!

  • For more information visit How To Play Mineswepper

Requirements For This Project

  • G++ v5.4 or newer

How To Run This Project

  1. Clone this project to your local machine : Cloning the project

  2. Go inside the folder where you cloned the project.

  3. Compile the code : Compiling the code using compiler

  4. Run the compiled code : Running the compiled code

  5. After this you'll see this: Select level

  6. You can select among three types of level

    • Beginner level by pressing 0 & Enter Beginner Level

    • Intermdiate level by pressing 1 & Enter Intermediate Level

    • Advanced level by pressing 2 & Enter Advance Level

  7. Take a look at the gameplay: Gameplay

ENJOY THE GAME


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages