摘  要:本文介绍了一款手机游戏的设计与开发过程,它基于经典的俄罗斯方块,在保持趣性的同时增强了游戏的益智性。论文首先对游戏的开发平台Java ME和开发环境Eclipse + Wireless Toolkit做了相关介绍,之后探讨传统俄罗斯方块的规则,并在此基础上展示了游戏的创新方面。接着对整体的设计框架进行了描述,并对游戏操作模块、得分存储、排序和更新模块进行了详细介绍。最后,将整个设计中所有的类的关系进行了总结,测试时的截图也一并展示。由于考虑到日后系统的功能将不断扩充,因此游戏采用了可扩展的框架设计,增强了灵活性,也便于维护。54598

毕业论文关键词:Java ME,俄罗斯方块,手机游戏

Abstract: This paper introduces the designing and developing process of a cell phone game. The game is based on the classic Tetris and became more educational and entertaining. First, there are some introductions of the development platform and the development environment: Java ME and Eclipse + Wireless Toolkit. Later, some discussions about the rules of the Tetris are followed. The innovation aspects of this game are all based on these discussions. Then it describes the framework of the whole system, and the modules of operating interface, storage, sorting and updating of scores are also introduced in detail. Finally, the relationships between all the classes in the entire system are summarized. Screenshots of program testing are also in this paper. On the thought of all the possible expansions in the future, the framework of the game is designed extendible. Thus, this system can be more flexible and maintenances are easier.

Keywords:java me,tetris,cell phone games

目  录

1  引言 4

2  开发环境 4

2.1  Java ME简介 4

2.2  Eclipse与Wireless Toolkit介绍 5

3  游戏设计 6

3.1  传统俄罗斯方块游戏规则 6

3.2  传统游戏中的方块说明 6

3.3  游戏创新 8

3.4  游戏框架设计 10

4  游戏操作模块 13

4.1  生成方块和判断翻转 14

4.2  左右移动与消除计分 16

4.3  游戏音效 17

5  得分储存、排序与更新模块 18

5.1  数据存储与排序 18

5.2  更新数据 19

6  系统实现与测试 20

6.1  类的继承与调用 20

6.2  测试截图与说明 23

结论 28

参考文献 29

致谢 30

1  引言

俄罗斯方块(Tetris)是一款风靡全球的游戏,它的发明者是俄罗斯数学家阿列克谢·帕基特诺夫。1984年6月,他在俄罗斯科学院计算机中心工作时,利用空闲时间编出一个游戏程序来测试当时一种计算机的性能,这个游戏就是最初的俄罗斯方块,游戏的灵感来自于帕基特诺夫酷爱的拼图。

1985年,当游戏被移植到个人电脑上后,俄罗斯方块开始迅速传播并广受欢迎。当被问及俄罗斯方块成功的奥妙时,创造者帕基特诺夫认为,可能是由于这个游戏非常简单,游戏过程给人一种“从混乱中寻找秩序”的成就感。同时它与中国的围棋相似,重视构建领地,是建设性的。

上一篇:asp.net+sqlserver商品进销存系统的设计与实现
下一篇:asp.net+sqlserver超市管理系统的设计与实现

Android手机考勤平台的设计与实现

基于android的环境信息管理系统设计

java+mysql班级评优系统的设计实现

Python+mysql宠物领养平台的设计与实现

ASP.NET飞翔租贷汽车公司信...

基于激光超声检测金属材...

多频激励下典型非线性系统的振动特性研究

基于Joomla平台的计算机学院网站设计与开发

提高教育质量,构建大學生...

浅谈高校行政管理人员的...

上海居民的社会参与研究

酵母菌发酵生产天然香料...

从政策角度谈黑龙江對俄...

AES算法GPU协处理下分组加...

压疮高危人群的标准化中...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

浅论职工思想政治工作茬...