首页 | 官方网站   微博 | 高级检索  
     

触屏版推箱子游戏中的走迷宫算法
引用本文:殷旭东,周思林.触屏版推箱子游戏中的走迷宫算法[J].计算机系统应用,2014,23(8):135-138.
作者姓名:殷旭东  周思林
作者单位:常熟理工学院 计算机科学与工程学院, 常熟 215500;常熟理工学院 计算机科学与工程学院, 常熟 215500
摘    要:在Android等移动平台上的触屏版推箱子游戏中,游戏主角在触摸操作下的移动路径计算属于走迷宫算法。提出了一种基于右手法则、足迹标记和捷径优化的迷宫路径搜索算法,采用直行、沿墙搜索和路径优化三个步骤实现。经实际项目的应用验证,该算法具有良好的有效性和高效性,能够满足游戏操作的实时性要求。

关 键 词:走迷宫算法  推箱子游戏  触摸屏  路径搜索  Android
收稿时间:2013/12/12 0:00:00
修稿时间:1/3/2014 12:00:00 AM

Maze Algorithm in Sokoban Game of Touch-Screen Edition
YIN Xu-Dong and Zhou Si-Lin.Maze Algorithm in Sokoban Game of Touch-Screen Edition[J].Computer Systems& Applications,2014,23(8):135-138.
Authors:YIN Xu-Dong and Zhou Si-Lin
Affiliation:School of Computer Science and Engineering, Changshu Institute of Technology, Changshu 215500, China;School of Computer Science and Engineering, Changshu Institute of Technology, Changshu 215500, China
Abstract:In the Sokoban game of touch-screen edition which runs on the mobile platform such as Android, the computing of the game protagonist's walking path under touch operation belongs to maze algorithms. A path searching maze algorithm based on the right-hand rule, footprint marking and shortcut optimizing is proposed. It is implemented through three steps, including walking straight, searching along the wall and optimizing path. After verification of application in the actual project, it shows that the algorithm has good effectiveness and efficiency to meet the real-time requirements of the game operations.
Keywords:maze algorithm  Sokoban game  touch-screen  path searching  Android
本文献已被 维普 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号