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.
mine-sweep-SDL2/ReadMe.md

23 lines
492 B
Markdown
Raw Permalink Normal View History

2023-06-24 18:38:24 +08:00
使用SDL2实现的扫雷游戏
2023-06-25 09:34:17 +08:00
[制作实况录播](https://www.bilibili.com/video/BV1zF411d7y5/?share_source=copy_web&vd_source=e1b8baee842192a0e6b2b7d9ef8e10ef)
2023-06-24 18:38:24 +08:00
## 操控
鼠标左键翻开格子,右键插旗子。
显示出失败/胜利图标后再次点击鼠标可以重开一局。
## 截图
![snapshot](./snapshot/snapshot.png)
## 编译
Windows下使用CMake可以进行编译
```bash
cmake -S . -B cmake-build -DSDL2_ROOT=<your SDL path>
cmake --build cmake-build
2023-06-25 09:34:17 +08:00
```