Skip to content

Simple minesweeper game written in C++ with SFML

Notifications You must be signed in to change notification settings

malciin/minesweeper

Repository files navigation

Minesweeper SFML

Info

  • Using SFML v2.4.2
  • Resizable window (when user resize window, map change its size too)
  • Double mouse button pressed support
  • All square textures are rendered once at runtime thus performance is fair due to use sf::VertexArray (even with 500^2 tiles)
  • No recursion when reveal many empty tiles (stack overflow impossible on huge maps)
  • MVC
  • Ini file

Controlls

Space - generate map

Mouse wheel - change next generated map mine number

CTRL + Mouse wheel - change next generated map mine number by 25

CTRL + 1 - predefinied "Easy" difficulty

CTRL + 2 - predefined "Medium" difficulty

CTRL + 3 - predefined "Hard" difficulty

Project is still incomplete. All todos can be found here.

License: MIT License

About

Simple minesweeper game written in C++ with SFML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages