https://github.com/maskedsyntax/minesweeper
Terminal based Minesweeper game in C++
https://github.com/maskedsyntax/minesweeper
cpp game minesweeper recursion-problem terminal
Last synced: 5 months ago
JSON representation
Terminal based Minesweeper game in C++
- Host: GitHub
- URL: https://github.com/maskedsyntax/minesweeper
- Owner: MaskedSyntax
- Created: 2021-04-28T12:57:12.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T23:09:23.000Z (about 1 year ago)
- Last Synced: 2025-02-05T01:33:07.182Z (about 1 year ago)
- Topics: cpp, game, minesweeper, recursion-problem, terminal
- Language: C++
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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!