This game is completely written in C++ with the help of the CLUI library to make it more beautiful and usable. I created this game for my final project of the ITP class.
- Clone the repository
git clone https://github.com/Mfrashidi/minesweeper.git && cd minesweeper- Compile the game
make game- Enjoy 🚀
./play
- Three basic modes + Custom mode
- Unlimited Users
- Unlimited save slots for each user
- Encrypted save slots to prevent cheating 🔒
- Leaderboard
- Responsive to the window size
- Easy: 5*5 table, 5 bombs
- Medium: 10*10 table, 20 bombs
- Hard: 15*15 table, 50 bombs
- Custom: 5*5-20*20 table, 1-399 bombs, Show or hide cell numbers, Set time limit for the game
In-Menu
| Usage | Key |
|---|---|
| Change an item | ↑ ↓ |
| Select an item | ENTER |
| Back | BACKSPACE |
In-Game
| Usage | Key |
|---|---|
| Change the cell | ↑ ↓ ← → |
| Select a cell | ENTER |
| Flag a cell | SPACE |
| Restart the game | R |
| Save the game | S |
| Exit the game | BACKSPACE |
Custom Mode Settings
| Usage | Key |
|---|---|
| Select items | ↑ ↓ |
| Change the setting | ← → |
| Start the game | ENTER |
- Add high score history
- Test and Add Windows support
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
