diff --git a/docs/cmleonos/docs/commands.md b/docs/cmleonos/docs/commands.md index aff57f6..cf0bc56 100644 --- a/docs/cmleonos/docs/commands.md +++ b/docs/cmleonos/docs/commands.md @@ -777,6 +777,14 @@ shutdown cuitest ``` +### testtui +测试 TUI 框架。 + +**用法:** +```bash +testtui +``` + ### testgui 测试图形界面。 @@ -812,8 +820,8 @@ snake **说明:** - 使用方向键 (↑ ↓ ← →) 控制蛇的移动 - 按 ESC 或 Q 键退出游戏 -- 蛇身用绿色 ■ 表示 -- 食物用红色 ● 表示 +- 蛇身用绿色 # 表示 +- 食物用红色 O 表示 - 吃到食物得分 +10 分 - 撞到墙壁或自己身体游戏结束 - 游戏区域:40x20 字符