⚠️ This project is not actively maintained.
A simple Minesweeper game written in C++ using Raylib.
- Classic Minesweeper gameplay
- Graphical user interface powered by Raylib
- Left-click to reveal cells
- Right-click to place or remove flags
- Automatic reveal of neighboring cells when appropriate
- Mine counter
- Win and lose detection
- Lightweight and fast
- Cross-platform (Linux, Windows)
- C++17 or newer
- Raylib
sudo apt install libraylib-devsudo pacman -S raylibgit clone https://github.com/AzeTurk810/Raylib_MineSweeper.git
cd Minesweeper
makeor
g++ src/*.cpp -o minesweeper -lraylib| Key / Mouse | Action |
|---|---|
| Left Click | Reveal a cell |
| Right Click | Place or remove a flag |
| R | Restart game |
| Esc | Exit |
- Difficulty selection
- Custom board sizes
- High score system
- Save and load games
- Better animations
- Sound effects
- Theme support
⚠️ This project may contain bugs. Use it at your own risk.
MIT License