Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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++

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!