Skip to content

MaskedSyntax/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Minesweeper 🎮

A C++ implementation of the classic Minesweeper game, where you test your skills to avoid hidden mines! Choose a difficulty level, reveal cells, and win if you can avoid all the mines.

🌟 Features

  • Difficulty Levels:

    • Beginner: 9x9 grid with 10 mines.
    • Intermediate: 16x16 grid with 40 mines.
    • Advanced: 24x24 grid with 99 mines.
  • Gameplay Mechanics:

    • Random Mine Placement: Every new game offers a fresh minefield layout.
    • Recursive Reveal: Clear empty cells and reveal neighboring cells automatically.
    • Cheat Mode: Option to reveal all mines for a peek behind the scenes.

🎮 How to Play

  1. Select Difficulty Level: Choose between Beginner, Intermediate, and Advanced.
  2. Enter Your Move: Provide row and column indices to reveal a cell.
  3. Win or Lose: Successfully reveal all safe cells to win, or hit a mine to lose.

🛠️ Technologies Used

  • Language: C++
  • Interface: Command-line Interface (CLI)

Challenge yourself to navigate the minefield and win the game!

Releases

No releases published

Packages

No packages published

Languages