-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# console-tetris | ||
命令行俄罗斯方块 | ||
## 编译 | ||
* 安装cmake 3.0以上 | ||
* 安装mingw-w64 http://www.mingw-w64.org | ||
* 在cmd中执行如下命令 | ||
```bash | ||
cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" -S . -B cmake-build-release | ||
cmake --build cmake-build-release | ||
``` | ||
## 效果图 | ||
![主页面](docs/main.jpg "主页面") | ||
![游戏中](docs/playing.jpg "游戏中") | ||
![游戏结束](docs/gameover.jpg "游戏结束") | ||
|
||
## 联系方式 | ||
shpodg@gmail.com |