1、 毕毕 业业 设设 计计 题题 目:目: 俄罗斯方块单人游戏的实现俄罗斯方块单人游戏的实现 院院 、系、系: 软件工程系软件工程系 姓姓 名:名: 指导教师指导教师: 系系 主主 任:任: 20201212 年年 0 06 6 月月 2020 日日 I 俄罗斯方块单人游戏的实现俄罗斯方块单人游戏的实现 摘摘 要要 论文描述了电脑游戏的发展现状,和开发此游戏的意义。遵循软件 工程的知识,从软件问题定义开始,接着进行了主要功能的描述、实现 原理的分析、详细设计,最后对软件进行了测试,整个开发过程贯穿软 件工程的知识体系。此次设计在 Microsoft Windows XP 系统下,以 Java 为
2、开发语言,在 Eclipse 开发平台上进行游戏的设计与实践。 本游戏开发的总体任务就是实现游戏的可操作性, 以及界面的简单 清晰性。整个开发过程遵循软件工程规范,采用 JAVA GUI 编程来实现 界面以及事件的控制,用户根据键盘的四个方向键控制翻转、向左、向 右和向下操作,通过菜单栏中的相应菜单选项实现游戏的开始、结束、 变换方块、积分以及等级的功能。由于知识以及能力的限制,本游戏所 实现的功能不够强大,可对本游戏进行改善,从而增强游戏的功能。通 过研究分析俄罗斯方块所具备的能力及实现的方法、确定主体结构。利 用现阶段我所能达到的能力,以最简洁、最容易的办法,边开发边测试 边修改,实现一个
3、初级游戏软件。 关键词关键词 电脑游戏;俄罗斯方块游戏;Java 语言 II 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 de
4、scription 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 pract
5、ice 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 cont
6、rol 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