Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maskedsyntax/minesweeper
Terminal based Minesweeper game in C++
https://github.com/maskedsyntax/minesweeper
cpp game minesweeper recursion-problem terminal
Last synced: 26 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T18:40:22.000Z (about 1 month ago)
- Last Synced: 2024-11-29T19:37:21.549Z (about 1 month ago)
- Topics: cpp, game, minesweeper, recursion-problem, terminal
- Language: C++
- Homepage:
- Size: 4.88 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!