四川师范大学成都学院本科毕业设计
四川师范大学成都学院本科毕业设计
推箱子游戏设计与实现
学生姓名 学 号 所 在 系 专业名称 班 级 指导教师
张起明 2012101087 通信工程系 通信工程 2012级宽带一班
陆园
四川师范大学成都学院
二○一六年五月
I
四川师范大学成都学院本科毕业设计
推箱子游戏的设计与实现
前言
于如今竞争激烈的快节奏时代中,人们的生活水平越来越繁忙,因为此,愈来愈多的人感到内心的空虚与压力带来的烦躁,这些也带给人们许许多多心理上和身体上的困惑。所以如何缓解当代人们的生活压力,已成为人们的共同夙愿。这一次的这个基于JAVA的推箱子小游戏正是使用JAVA语言并且结合于Eclipses编译器,开发出了这样一款适合用于休闲的小游戏,在放松的同时也给忙碌的人们打开另一个思考的空间。这一款基于JAVA开发的推箱子主要分为初始化、画图、移动小人、移动箱子以及功能控制共五个模块。玩家可以通过控制游戏中的小人的移动来实现推动箱子,同时需要避开障碍物和死角方能将箱子推放到正确位置从而过关。每关的难易程度各不相同,不仅可以供人们用以娱乐,还有助于开发智力,提高人们思考问题与想象的能力,改善人们的思维方式,拓展思维。
关键词:JAVA 解压 推箱子 游戏
II
四川师范大学成都学院本科毕业设计
Abstract
In today's competitive era of fast-paced, people 's living level is becoming more and more busy, because of this, an increasing number of people have felt irritability of emptiness and pressure, these also bring people many psychological and physical puzzles. So how to alleviate the pressure of contemporary life, has become the common aspiration of the people. This time the based on Java Sokoban game is using the Java language and the combination of the eclipses of the compiler developed such a suitable for leisure game, in a relaxed but also to the busy people to open another thinking space. This is based on the JAVA development of the push box is divided into initialization, drawing, moving people, moving boxes and a total of five functional control module. Players can control the game through the villain's mobile to achieve the promotion of the box, while the need to avoid obstacles and dead side to push the box to the correct position so that. Each level of difficulty is different, not only can be used for people to entertain, but also helps to develop intelligence, improve people's ability to think about problems and imagination, improve people's way of thinking, expand thinking. Key Words:JAVA Relieve pressure Push box Game
III