Open
Conversation
将上下左右键从'8''5''4''6'修改成了键盘中的 上下左右 键 添加了注释
添加了default语句
增加说明:{ 墙体字符:■(case 1) 人物字符:★(case 2) 出口字符:☆(case 3) }
添加了p09_maze的预览图
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关于p09_maze的说明:
1.隐藏了光标
2.起点为右下角 终点为左上角 游戏过程中按下Enter可以重新生成地图重开游戏
3.游戏结束时可以选择再开一局或者退出
4.用dfs随机生成迷宫
关于p10_pushBoxes的说明:
1.从txt文件中读入地图
2.玩家开始游戏前输入用户名 游戏时间 用户以及每关分数会被记录到文件"userlog.txt"中
3.屏幕上会打印当前关卡 总步数 当前关卡步数
4.游戏过程中按下Enter可重新开始本关
ps.预览图中print的字符与提交的字符不同,提交中的字符为ASCII码表中的字符 预览图中是非ASCII码表字符
p11_Linkedlist:输入链表长度 随机生成链表元素
p12_warehouse:
除了实现基本功能外增加了log.txt,每次的操作记录到"log.txt"中