###
DOI:
计算机系统应用英文版:2014,23(8):135-138
本文二维码信息
码上扫一扫!
触屏版推箱子游戏中的走迷宫算法
(常熟理工学院 计算机科学与工程学院, 常熟 215500)
Maze Algorithm in Sokoban Game of Touch-Screen Edition
(School of Computer Science and Engineering, Changshu Institute of Technology, Changshu 215500, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1426次   下载 3494
Received:December 12, 2013    Revised:January 03, 2014
中文摘要: 在Android等移动平台上的触屏版推箱子游戏中,游戏主角在触摸操作下的移动路径计算属于走迷宫算法.提出了一种基于右手法则、足迹标记和捷径优化的迷宫路径搜索算法,采用直行、沿墙搜索和路径优化三个步骤实现.经实际项目的应用验证,该算法具有良好的有效性和高效性,能够满足游戏操作的实时性要求.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
殷旭东,周思林.触屏版推箱子游戏中的走迷宫算法.计算机系统应用,2014,23(8):135-138
YIN Xu-Dong,Zhou Si-Lin.Maze Algorithm in Sokoban Game of Touch-Screen Edition.COMPUTER SYSTEMS APPLICATIONS,2014,23(8):135-138