电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

基于Android的迷宫小游戏的设计与实现

基于Android的迷宫小游戏的设计与实现_第1页
1/52
基于Android的迷宫小游戏的设计与实现_第2页
2/52
基于Android的迷宫小游戏的设计与实现_第3页
3/52
基于 Android 的迷宫小游戏的设计与实现 Design and Implementation of Android-based Labyrinth Mini-Game内容摘要项目主要实现了迷宫游戏的基本功能,存档功能,得分记录功能,还增加了多层模式,增加了重力感应操纵方式。项目基于 Android系统实现,主要需需要学习 Android 的布局知识、控件使用、事件监听、系统权限申请等相关知识。需要有 Java 语言基础,本项目中主要使用 Android 官方推荐的语言 Kotlin 语言实现。项目采用了 mvp 模式优化系统的架构,使项目代码变得更为整洁。项目中实现了迷宫自动生成,生成的迷宫为单路迷宫,该类型迷宫的特性是有且只有一条路径可以到达终点,只要依照一定技巧就可以到达终点,不会出现转圈的情况,其实现算法相对简单,我采用迭代算法的思想实现迷宫的自动生成。项目中实现了路径自动计算功能,主要采用递归思想实现该算法。关键词: 迷宫游戏MVP 模式递归算法 迭代算法AbstractThe project mainly realizes the basic functions of the maze game, the save function, the score recording function, and also adds a multi-layer mode, and adds a gravity sensing manipulation method. The project is implemented based on the Android system, which mainly needs to learn the related knowledge of Android layout knowledge, control use, event monitoring, system permission application and so on. Need to have Java language foundation, this project mainly uses the official Kotlin language recommended by Android to achieve.The project uses the mvp mode to optimize the system architecture, making the project code cleaner. The project realizes the automatic generation of the maze. The generated maze is a single-path maze. The characteristics of this type of maze are that there is only one path to reach the end point. As long as you follow a certain skill, you can reach the end point. Relatively simple, I use the idea of iterative algorithm to realize the automatic generation of the maze. The automatic path calculation function...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

基于Android的迷宫小游戏的设计与实现

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部