mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
更新文档
This commit is contained in:
@@ -777,6 +777,14 @@ shutdown
|
||||
cuitest
|
||||
```
|
||||
|
||||
### testtui
|
||||
测试 TUI 框架。
|
||||
|
||||
**用法:**
|
||||
```bash
|
||||
testtui
|
||||
```
|
||||
|
||||
### testgui
|
||||
测试图形界面。
|
||||
|
||||
@@ -812,8 +820,8 @@ snake
|
||||
**说明:**
|
||||
- 使用方向键 (↑ ↓ ← →) 控制蛇的移动
|
||||
- 按 ESC 或 Q 键退出游戏
|
||||
- 蛇身用绿色 ■ 表示
|
||||
- 食物用红色 ● 表示
|
||||
- 蛇身用绿色 # 表示
|
||||
- 食物用红色 O 表示
|
||||
- 吃到食物得分 +10 分
|
||||
- 撞到墙壁或自己身体游戏结束
|
||||
- 游戏区域:40x20 字符
|
||||
|
||||
Reference in New Issue
Block a user