Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is not actively maintained.

Minesweeper

A simple Minesweeper game written in C++ using Raylib.

Features

  • 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)

Requirements

  • C++17 or newer
  • Raylib

Debian / Ubuntu

sudo apt install libraylib-dev

Arch Linux

sudo pacman -S raylib

Build

git clone https://github.com/AzeTurk810/Raylib_MineSweeper.git
cd Minesweeper
make

or

g++ src/*.cpp -o minesweeper -lraylib

Controls

Key / Mouse Action
Left Click Reveal a cell
Right Click Place or remove a flag
R Restart game
Esc Exit

Roadmap

  • Difficulty selection
  • Custom board sizes
  • High score system
  • Save and load games
  • Better animations
  • Sound effects
  • Theme support

Known Issues

⚠️ This project may contain bugs. Use it at your own risk.

License

MIT License

About

minesweeper game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages