Skip to content

R-Besson/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple C++ Minesweeper

Minesweeper features a grid of clickable squares, with hidden "mines" scattered throughout the board. The objective is to clear the board (find all the mines by placing a flag) without detonating any mines, with help from clues about the number of neighboring mines in each square. Wikipedia

Requirements

You will need :

  • c++ compiler (example: g++)
  • GNU make for building (documentation),
  • SFML for graphics (for example, you can install SFML with MSYS2 using pacman -S mingw-w64-x86_64-sfml from MSYS2 terminal in windows)

Building

cd minesweeper
make

This will create a build directory with the executable and the assets (images, fonts, ...)
Alternatively look in the Makefile file for compilation & linking instructions without using make

Running

cd build

To show usage instructions run the executable using ./minesweeper (linux) or minesweeper.exe (win) in the terminal

About

simple c++ minesweeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published