目录封面........................错误!未定义书签。
目录 (I)毕业论文(设计)任务书 (I)开题报告 (Ⅴ)审阅与评审成绩 (Ⅹ)答辩记录及成绩评定 (Ⅺ)中文摘要 (Ⅻ)引言 (1)1.绪论 (2)1.1 电子游戏及其分类 (3)1.2 电子游戏发展现状 (3)1.2.1 电子游戏在国外的发展现状 (3)1.2.2 电子游戏在国内的发展现状 (4)2.可行性研究 (6)2.1 设计目的 (6)2.2 软件问题定义 (6)2.3 可行性分析 (6)3.需求分析 (7)3.1 引言 (7)3.2 游戏需求 (7)3.3 软硬件需求 (8)3.4 接口控制 (8)3.5 方案论证 (8)3.5.1 VB的优点 (8)3.5.2 C++的优点 (9)3.5.3 Java的优点 (9)3.5.4 方案的选择 (10)4.概要设计 (11)4.1 游戏设计方案的确定 (11)4.2 系统流程结构设计 (11)4.3 各个功能模块图设计 (12)4.3.1 模型层(Model)功能模块图设计 (12)4.3.2 视图层(View)功能模块图设计 (13)4.3.3 控制层(Controller)功能模块图设计 (13)5.详细设计 (14)5.1模型层(Model)设计 (14)5.1.1 图形的产生 (14)5.1.2 图形的数据结构 (14)5.1.4 图形的变形 (15)5.1.5 存储和表示障碍物 (16)5.1.6 判断满行及消行 (16)5.2视图层(View)设计 (17)5.2.1 方块的显示 (18)5.2.2 障碍物的显示 (18)5.3 控制层(Controller)设计 (19)5.4 游戏演示 (19)5.4.1 游戏界面显示 (20)5.4.2 开始和结束控制菜单 (20)5.4.3 分数和等级查看菜单 (21)5.4.4 变换方块菜单 (21)5.4.5 帮助菜单 (22)6.系统测试 (22)6.1 游戏界面菜单选项的功能测试 (22)6.2 按键事件的功能测试 (23)6.3方块堆砌与消行测试 (23)6.4 测试结果分析 (23)结论 (24)致谢 (25)参考文献 (25)毕业论文(设计) 任务书系计算机系专业软件技术班级软件技术1班学生姓名指导教师/职称1.毕业论文(设计)题目:俄罗斯方块游戏设计与实现2.毕业论文(设计)起止时间: 2013年11月26日~ 2014年 4月26日3.毕业论文(设计)所需资料(指导教师选定部分)陆惠恩著. 实用软件工程[M].北京:清华大学出版社黄复贤著.俄罗斯方块游戏的敏捷设计与开发[M]. 电脑编程技巧与维护朱福喜著. Java程序设计技巧与开发实例[M].北京:人民邮电出版社赵东跃著.俄罗斯方块编程[M].电脑编程技巧与维护4.毕业论文(设计)应完成的主要内容俄罗斯方块游戏的基本实现,由Model层随机生成图形,由View层显示,用Controller 类控制图形是否能旋转是否能下落。
还有判断是否消行和添加分数,处理键盘和鼠标时间。
图形的变形,移动旋转。
5.毕业论文(设计)的目标及具体要求今后还需要完善手动加速和分数达到一定数值时加速的功能。
优化UI和添加一个分数榜(需要用到数据库)。
任务书批准日期年月日系主任(签字)任务书下达日期年月日指导教师(签字)完成任务日期年月日学生(签名)毕业论文(设计) 开题报告毕业论文(设计)审阅与评审成绩毕业论文(设计)答辩记录及成绩评定中文摘要在现今电子信息高速发展的时代,电子游戏已经深入人们的日常生活,成为老少皆宜的娱乐方式。
但是游戏设计结合了日新月异的技术,在一个产品中整合了复杂的设计、艺术、声音和软件,所以并不是人人皆知。
直到今天,在中国从事游戏设计的人仍然很少,但是游戏行业的发展之快,远超如家电、汽车等传统行业,也正因为如此,游戏人才的教育、培养远落后于产业的发展。
俄罗斯方块是个老幼皆宜的小游戏,它实现由四块正方形的色块组成,然后存储在一个数组的四个元素中,计算机随机产生不同七种类型的方块,根据计算机时钟控制它在一定的时间不停的产生,用户根据键盘的四个方向键控制翻转、向左、向右和向下操作,(控制键的实现是由键盘的方向键的事件处理实现)。
然后程序根据这七种方块堆叠成各种不同的模型。
论文描述了游戏的历史,开发此游戏的环境,游戏开发的意义。
遵循软件工程的知识,从软件问题定义开始,接着进行可行性研究、需求分析、概要设计、详细设计,最后对软件进行了测试,整个开发过程贯穿软件工程的知识体系。
此次设计在Microsoft Windows XP系统下,以Java为开发语言,在eclipse开发平台上进行游戏的设计与实践。
关键词:游戏设计;算法;数组;事件AbstractIn the era of high-speed development of electronic information, computer game has enter people’s daily life, become an amusement adapt to old and young. But Game design is a combination of fast-moving technology, the complexity of integrating design、 art、audio and software into a single production, so this technology isn’t known by everyone. up-to-date, there are few people work at game design all the same, whereas, the development of game industry more faster than traditional industry as home appliances and automobile, by the reason of this situation, the education and training of person with ability of game design drop behind the development of game industry.The Russian square piece is a get-away drama with all proper old young , it carry out to be constitute by four pieces of colors of exact square piece,then save in one four chemical elements of the piece set, random creation dissimilarity of calculator seven the square piece of the category type, control it according to the calculator clock in certain time continuously creation, the customer is inside out according to four directions key control of the keyboard, to left, rightwards and get down the operation,.( the realization of the control key is to be carry out by the event handling of the direction key of the keyboard)Then the procedure pileds according to these seven kinds of square pieces various different model.The thesis has described the game history , has developed this game environment, development significance of game. Knowledge abiding by a software engineering, definition begins from software problem , proceed to carry out feasibility study , need analysis , essentials design , detailed design, the at last has carried out a testing on the software , entire exploitation process has run through the software engineering knowledge hierarchy.The computer game design and practice are designed on eclipse developing platform with Java developing instrument, under Microsoft Windows XP system this time.Key Words:Game design;calculate way;several;event引言游戏是人们活动中一项非常重要的内容,有人认为如果哪一天人类对所有的游戏都失去兴趣,恐怕世界的末日就要到了。
电脑对游戏的贡献有目共睹,现在摸过电脑的人很少有没玩过电脑游戏的,喜欢游戏的人也很少有不玩电脑的。
俄罗斯方块是一款风靡全球的电视游戏机和掌上游戏机游戏,它曾经造成的轰动与造成的经济价值可以说是游戏史上的一件大事。
这款游戏最初是由苏联的游戏制作人Alex Pajitnov制作的,它看似简单但却变化无穷,令人上瘾。
相信大多数用户都还记得为它痴迷得茶不思饭不想的那个俄罗斯方块时代。
究其历史,俄罗斯方块最早还是出现在PC机上,而我国的用户都是通过红白机了解、喜欢上它的。
现在联众又将重新掀起这股让人沉迷的俄罗斯方块风潮。
对一般用户来说,它的规则简单,容易上手,且游戏过程变化无穷,而在"联众俄罗斯方块"中,更有一些联众网络游戏所独有的魅力――有单机作战与两人在线对战两种模式,用户可任选一种进行游戏。