Skip to content

chanuka-williams/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

A simple Minesweeper game built in C++ using the Raylib library.

Controls

  • Left Click - Uncover a tile
  • Right Click - Place or remove a flag
  • ESC - Exit the game

Building the Project

This project uses CMake for building and is dependent on the Raylib library, which CMake downloads automatically. To build the project, follow these steps:

  1. Navigate to the project directory:
    cd /path/to/minesweeper
  2. Create a build directory:
    mkdir build && cd build
  3. Run CMake to generate the build files:
    cmake ..
  4. Compile the project:
    cmake --build .

Requirements

  • C++ compiler (GCC, Clang, or MSVC)
  • CMake

Running the Game

After building, the executable can be found in the build directory. Run it with:

./Minesweeper.exe

Enjoy the game!

About

A simple Minesweeper game built in C++ using the Raylib library.

Topics

Resources

Stars

Watchers

Forks

Contributors