【文件属性】:
文件名称:minesweeper:Windows Minsweeper的克隆
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-05 04:01:40
game minesweeper sdl2 C++
扫雷车
Windows Minsweeper的克隆
我可能应该使它成为面向对象的一天。
编辑include/consts.hpp以更改板的宽度和高度。
是的,代码很丑陋,但是有一天我会做一个更好的版本。
依存关系
SDL2
安装
git clone https://github.com/bitt4/minesweeper.git
cd minesweeper
make
./minesweeper
【文件预览】:
minesweeper-master
----.gitignore(283B)
----Makefile(457B)
----src()
--------Minesweeper.cpp(5KB)
--------Cell.cpp(1KB)
--------main.cpp(2KB)
----legacy()
--------Makefile(94B)
--------render.cpp(7KB)
--------README.md(439B)
--------include()
--------game.cpp(3KB)
--------main.cpp(2KB)
--------bitmaps()
----LICENSE(1KB)
----README.md(363B)
----include()
--------Cell.hpp(1KB)
--------Minesweeper.hpp(990B)
----bitmaps()
--------cells.bmp(2KB)
--------icon.bmp(246B)