1 / 47
文档名称:

java实现推箱子游戏本科毕业(设计)论文.doc

格式:doc   页数:47
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

java实现推箱子游戏本科毕业(设计)论文.doc

上传人:Alphago 2016/5/17 文件大小:0 KB

下载得到文件列表

java实现推箱子游戏本科毕业(设计)论文.doc

文档介绍

文档介绍:北京邮电大学毕业设计 i Java实现推箱子游戏摘要社会在进步,人们生活质量也在日益提高。高强度的压力也接踵而来。社会中急需出现新的有效方式来缓解人们的压力。此次设计符合了社会需求,java 推箱子游戏可以让人们在闲暇之余,体验游戏的乐趣。具有操作简单,易于上手的特点。推箱子游戏的玩法十分简单——控制人物绕过障碍物,到达目的地。此次试验基于 java 语言。将游戏地图做成通用的关卡设计,关卡用文本实现在文本文件里设置好关卡, 游戏核心模块中图片随机生成采用了数字和图片绑定,运用随机函数以及数组交换的算法,实现了游戏图片初始化状态,有效的解决了图片排布问题,方案简单易行。充分运用堆栈的存储特点实现悔棋功能。用迭代计算小人和箱子的移动,一个计算人是否能到达某一个格子一个是计算箱子是否能到达相邻的某一个格子。舒缓的音乐配合有趣的步骤,相信能引起很多人的兴趣。作为一个具有悠久历史的游戏,也能够引起人的怀念和共鸣。关键词压力;游戏; java; 多功能北京邮电大学毕业设计 ii Java implementation of the Sokoban game Abstract Social progress, quality of life is also increasing. High-intensity pressure also follow. The emergence of new social urgently needed an effective way to relieve people's stress. This is designed to meet the needs of munity, java Sokoban game allows people in her spare time, experience the fun of the game. With simple operation, easy to use features. Sokoban game play is very simple - control the character around obstacles to reach the destination. The test is based on java language. The game map made generic level design, checkpoints set up checkpoints to achieve with a text ina text file, the game core module uses a randomly generated digital images and pictures binding, using a random array of functions and algorithms exchange to achieve a game pictures initialization state, effectively solve the problem of picture arrangement, the program is simple. Make full use of the storage characteristics of the stack to achieve undo function. puting and boxes of iterative villain, a calculation whether one can reach a certain grid is to calculate whether a case can reach a neighboring lattice. Soothing music with interesting step, which will hopefully lead to a lotof people's interest. As a game with a long history, but also can cause people to miss and resonance. K ey Words Pressure; games; java; multifunction 北京邮电大学毕业设计目录摘要............................................................................................................................. i Abstract .................................