https://github.com/abdokin/minesweeper
Minesweeper Game IN C
https://github.com/abdokin/minesweeper
cpp gamedev raylib
Last synced: about 1 month ago
JSON representation
Minesweeper Game IN C
- Host: GitHub
- URL: https://github.com/abdokin/minesweeper
- Owner: abdokin
- Created: 2022-08-01T14:41:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T11:56:30.000Z (over 2 years ago)
- Last Synced: 2025-06-13T15:11:30.346Z (about 1 year ago)
- Topics: cpp, gamedev, raylib
- Language: C
- Homepage:
- Size: 3.61 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minesweeper Game
This is a classic Minesweeper game implemented in C using the raylib library. The game features a grid-based board where players must reveal tiles while avoiding hidden mines.

## How to Play
1. **Objective**: The objective of the game is to uncover all tiles on the board that do not contain mines.
2. **Revealing Tiles**: Left-click on a tile to reveal its contents.
3. **Avoid Mines**: If you uncover a tile containing a mine, the game is over.
4. **Use Clues**: Use the numbers displayed on revealed tiles to determine the locations of mines.
5. **Winning**: You win the game by successfully revealing all safe tiles without detonating any mines.
## Controls
- **Left-click**: Reveal a tile.
- **Right-click**: Flag a tile as a suspected mine.
- **Left-click (on Game Over or Victory)**: Restart the game.
## Screenshots


## How to Run
1. Clone the repository.
2. Install the required dependencies (raylib library).
3. Compile the source code.
4. Run the executable.
## Credits
- Developed by Abdokin
- Built with [raylib](https://www.raylib.com/)
## License
This project is licensed under the [MIT License](LICENSE).