使用SDL2制作的扫雷游戏
This repository has been archived on 2023-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
VisualGMQ bfa8bb4042 (add): add cmake install 2023-06-25 13:46:08 +08:00
cmake (add): finish version 1.0.0 2023-06-24 18:38:24 +08:00
include (fix): use std::unique_ptr to manage SDL_Window & SDL_Renderer 2023-06-25 11:20:06 +08:00
resources (add): finish version 1.0.0 2023-06-24 18:38:24 +08:00
snapshot (add): finish version 1.0.0 2023-06-24 18:38:24 +08:00
src (fix): use std::unique_ptr to manage SDL_Window & SDL_Renderer 2023-06-25 11:20:06 +08:00
.gitignore (add): finish version 1.0.0 2023-06-24 18:38:24 +08:00
CMakeLists.txt (add): add cmake install 2023-06-25 13:46:08 +08:00
ReadMe.md Update ReadMe.md 2023-06-25 09:34:17 +08:00

ReadMe.md

使用SDL2实现的扫雷游戏

制作实况录播

操控

鼠标左键翻开格子,右键插旗子。

显示出失败/胜利图标后再次点击鼠标可以重开一局。

截图

snapshot

编译

Windows下使用CMake可以进行编译

cmake -S . -B cmake-build -DSDL2_ROOT=<your SDL path>
cmake --build cmake-build