数据结构课设——走迷宫游戏

上传者: 33917045 | 上传时间: 2021-02-17 14:03:43 | 文件大小: 23.34MB | 文件类型: ZIP
数据结构课设 1.问题描述 程序开始运行时显示一个迷宫地图,迷宫中央有一只老鼠,迷宫的右下方有一个粮仓。游戏的任务是使用键盘上的方向键操纵老鼠在规定的时间内走到粮仓处。 2.功能要求 1)老鼠形象可辨认,可用键盘操纵老鼠上下左右移动; 2)迷宫的墙足够结实,老鼠不能穿墙而过: 3)正确检测结果,若老鼠在规定时间内走到粮仓处,提示成功,否则提示失败: 4)添加编辑迷宫功能,可修改当前迷宫,修改内容:墙变路、路变墙; 5)找出走出迷宫的所有路径,以及最短路径。 利用序列化功能实现迷宫地图文件的存盘和读出等功能 使用QT编写,除实现上述全部要求外还可自动生成迷宫,主要涉及DFS算法

文件下载

资源详情

[{"title":"( 26 个子文件 23.34MB ) 数据结构课设——走迷宫游戏","children":[{"title":"source","children":[{"title":"welcome.cpp <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"logo.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"Modules","children":[{"title":"Maze","children":[{"title":"kruskals_generator.hxx <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"sidewinder_generator.hxx <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"dfs_generator.hxx <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"recursive_division_generator.hxx <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"binary_tree_generator.hxx <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"prims_generator.hxx <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"DataStructures","children":[{"title":"binary_search_tree.hxx <span style='color:#111;'> 14.52KB </span>","children":null,"spread":false},{"title":"grid.hxx <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"game.ui <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"mazemap.cpp <span style='color:#111;'> 10.68KB </span>","children":null,"spread":false},{"title":"maze2.pro.user <span style='color:#111;'> 22.10KB </span>","children":null,"spread":false},{"title":"welcome.ui <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"game.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"maze2.pro <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"welcome.h <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"brick.png <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"food.png <span style='color:#111;'> 149.83KB </span>","children":null,"spread":false},{"title":"dirt.jpg <span style='color:#111;'> 39.19KB </span>","children":null,"spread":false},{"title":"rat.png <span style='color:#111;'> 138.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"mazemap.h <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"game.cpp <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"res.qrc <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":false},{"title":"exe","children":[{"title":"maze.exe <span style='color:#111;'> 23.70MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明