1、 1 毕 业 设 计毕 业 设 计 论 文论 文 题目题目:JAVAJAVA 的俄罗斯方块界面设计与实现的俄罗斯方块界面设计与实现 目 录 摘 要 . 4 ABSTRACT . 5 1 绪论绪论 . 6 1.1 开发背景 6 1.2 俄罗斯方块的开发意义 . 7 2 可行性研究可行性研究 . 8 2.1 设计目的 . 9 2.2 软件问题定义 9 2.3 可行性分析9 3 需求分析需求分析 . 9 2 3.1 引言 . 9 3.2 方案论证 . 错误错误!未定义书签。未定义书签。 4 游戏的开发与编译游戏的开发与编译 12 4.1 编译工具简介 12 4.2 硬件及软件开发平台. 12 4.3
2、 功能设计 . 12 4.4 系统功能模块 13 4.5 功能流程图18 4.6 详细设计18 5 游戏演示游戏演示 . 21 5.1 开始游戏 . 21 5.2 系统测试24 5.3 按键时间功能测试24 6 结论结论 . 25 6.1问题25 6.2 解决方法.25 7 参考文献参考文献 . 26 3 基于 JAVA 的俄罗斯方块 摘 要 在现今电子信息高速发展的时代,电子游戏已经深入人们的日常生活,成为老少皆 宜的娱乐方式。 但是游戏设计结合了日新月异的技术, 在一个产品中整合了复杂的设计、 艺术、声音和软件,所以并不是人人皆知。直到今天,在中国从事游戏设计的人仍然很 少,但是游戏行业的
3、发展之快,远超如家电、汽车等传统行业,也正因为如此,游戏人 才的教育、培养远落后于产业的发展。 俄罗斯方块是个老幼皆宜的小游戏,它实现由 四块正方形的色块组成,然后存储在一个数组的四个元素中,计算机随机产生不同七种 类型的方块,根据计算机时钟控制它在一定的时间不停的产生,用户根据键盘的四个方 向键控制翻转、向左、向右和向下操作, (控制键的实现是由键盘的方向键的事件处理 实现) 。然后程序根据这七种方块堆叠成各种不同的模型。 论文描述了游戏的历史,开 发此游戏的环境,游戏开发的意义。遵循软件工程的知识,从软件问题定义开始,接着 进行可行性研究、需求分析、概要设计、详细设计,最后对软件进行了测试
4、,整个开发 过程贯穿软件工程的知识体系。 此次设计在 Microsoft Windows XP 系统下,以 Java 为 开发 关键词:游戏设计:算法,数组,事件 Based on Linux Read-Write control of EERROM 4 Abstract In the rapid development of the electronic information era, computer game has penetrated into peoples daily life, become a family-friendly entertainment. But with
5、the technology change rapidly in game design, sophisticated design, art, audio and software integration in a product, so not all the world knows. Until today, in the game design in China are still rare, but the game industry is the development of fast, far more than the home electric, automobile and
6、 other traditional industries, but also because of this, the education of talents training game, development is far behind the industry. Tetris is a young and old-Safe game, it consists of four square blocks of color, and then stored in the four element of an array, the computer randomly generated seven different types of boxes, according to the computer clock control it at a certain time, the user according to the four key to control the direction of turning, keyb