SweepMiner is a clone of the classic game Minesweeper built using C++ and SDL3. The primary goal of this project was to help me learn C++ and to get more familiar with game development in general.

Tech Stack
The project is built using C++23, SDL3, and Dear ImGui. With the stated goal of learning C++, I decided to use the latest version of the language to get the most out of it. From there, I needed to pick libraries for rendering, UI, input handling, etc. so SDL3 was a natural choice given its ubiquity in game development. The majority of the window was rendered using SDL3, but I didn’t want to have to build my own menu bar and somehow make it fully crossplatform so I decided to bring in Dear ImGui to handle that for me. Overall, it’s a pretty simple tech stack but it gets the job done, and gets it done well.
Current Status
SweepMiner is still in somewhat active development with the core gameplay mechanics implemented and working. With the recent release of SDL3_mixer, audio has been added to the game as well. There are still some minor bugs to be worked out and some of the menu options still need to be implemented, but you can play a full game of Minesweeper from start to finish without any issues.
I am currently working on trying to get prebuilt binaries of the game released on GitHub and hope to have alpha builds available soon!
Roadmap
- Render the window, grid, and cells
- Implement mine placement
- Implement cell revealing and flagging
- Implement win/loss conditions
- Add sound effects using SDL3_mixer
- Add a menu bar using Dear ImGui
- Implement all menu options (New Game, Difficulty, etc.)
- Polish the game and release binaries