Skip to content

This Minesweeper game uses Depth First Search (DFS) as the primary mechanism to explore adjacent safe tiles and count the number of immediate mines. This information helps determine which tiles to uncover and which tiles to flag.

Notifications You must be signed in to change notification settings

henrykorir/wxMinesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wxMinesweeper

This is a proof-of-concept (poc) that is achieving the use of C++ library wxWidgets to build a GUI

CMake

Rule of the game

Flag all the mine fields

Build

Ensute you have cmake.
If you don't have visit https://cmake.org/

git clone https://github.com/henrykorir/wxMinesweeper.git
cd ./wxMinesweeper
cmake .
cmake --build .

To Be Done

[x] Left Mouse click to flag a mine field
[x] End game when all fields are flaged
[x] Restart game

Demo

Beginning Progress End Game

About

This Minesweeper game uses Depth First Search (DFS) as the primary mechanism to explore adjacent safe tiles and count the number of immediate mines. This information helps determine which tiles to uncover and which tiles to flag.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published