- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
俄罗斯方块单人游戏的实现
哈 尔 滨 理 工 大 学
毕业
题 目::姓名: :
2012 年月 日
此次设计在Microsoft Windows XP系统下,以Java为开发语言在clipse开发平台上进行游戏的设计与实践。通过分析所具备的能力及实现的方法、确定主体结构。利用现阶段所能达到的能力,以最简洁、最容易的办法,边开发边测试,实现一个初级软件。Java语言
Single game of Tetris
Abstract
The paper describes the development status of the computer game, and the development of the significance of this game. Follow the knowledge of software engineering, start from the definition of a software problem, followed by a description of the main functions of the principle of analysis, detailed design, the final test of the software throughout the development process throughout the software engineering body of knowledge. The design of the Microsoft Windows XP systems, the Java development language, game design and practice in the Eclipse development platform.
The development of the overall mission of this game is to achieve operability of the game, as well as clear and simple interface. Throughout the development process follows the software engineering specifications, using JAVA GUI programming interface and control of events, according to the four directions of the keyboard keys to control flip, left, right and down operation, selected through the menu bar of the corresponding menuthe game start, end, transform the box score and level of functionality. Knowledge and capacity constraints, this game is not powerful enough, you can make improvements to the game, thereby enhancing the functionality of the game. Through research and analysis capability of Tetris and to determine the main structure. With my best ability to achieve at this stage, the most concise, easiest way to edge development side of the test side to modify a primary game software.
Keywords Computer game;Tetris game;Java language
目录
摘 要 I
Abstract II
第1章 绪论 1
1.1 电脑游戏的发展现状 1
1.2 开发意义 2
第2章 主要功能的描述 3
2.1 游戏的主要功能 3
2.2 Java GUI功能 3
2.3 多线程的功能 4
第3章 实现的原理 5
3.1 Java GUI实验原理 5
3.1.1基本窗口类 5
3.1.2原子构件 7
3.1.3菜单类 8
3.1.4事件处理 9
3.1.5布局管理 10
3.1.6图形类与图形的绘制 11
3.2 Java多线程机制 11
第4章 设计的方案及实现 12
4.1设计
文档评论(0)