A simple Minesweeper game built in C++ using the Raylib library.
- Left Click - Uncover a tile
- Right Click - Place or remove a flag
- ESC - Exit the game
This project uses CMake for building and is dependent on the Raylib library, which CMake downloads automatically. To build the project, follow these steps:
- Navigate to the project directory:
cd /path/to/minesweeper - Create a build directory:
mkdir build && cd build
- Run CMake to generate the build files:
cmake ..
- Compile the project:
cmake --build .
- C++ compiler (GCC, Clang, or MSVC)
- CMake
After building, the executable can be found in the build directory. Run it with:
./Minesweeper.exeEnjoy the game!