俄罗斯方块游戏系统设计(含完整程序)大学毕设论文
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业设计(论文)正文
题目俄罗斯方块游戏
专业
班级
姓名
学号
指导教师
职称
俄罗斯方块游戏
摘要: 在现代信息高速发展的时代,电子游戏已经深入了人们的日常生活,成为了老少咸宜的娱乐方式,但是游戏设计结合了日新月异的技术,在一个产品中整合了复杂的艺术,设计,声音和软件,所以并不是人人皆知,直到今天,在中国从事游戏设计的人仍然很少,但是游戏行业的发展之快,远超如汽车,家电等传统行业,也正因为如此,游戏人才的教育培养远落后于行业的发展。
俄罗斯方块是一个老少咸宜的小游戏,它实现有四个正方形的色块组成,然后存储于一个数组的四个元素中,计算机随机产生七种不同类型的方块,根据计算机时钟控制它在一定的时间不停的产生,用户根据键盘的四个方向键进行向左,向右,向下,翻转操作。然后程序根据这七种方块折叠成各种不同的类型。
论文描述了游戏开发的背景,意义,算法分析,功能实现,功能测试。以C++为开发语言进行设计与实现。
关键词:电子游戏,算法,C++,测试
The Russian square piece
Abstract :In the era of high-speed development of electronic of 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 integrati ng design,art,audio and software into a single production,so this thechnology isn’t known by everyone .up-to-date,there are few people work at game design all the same,whereas,thedevelopment of game industry more faster than traditional industry as home ap pliances and automobile,by the reason of this situation,the education and training of person with ablity 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 colours 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 realization of the control key is to be carry out by the event handing 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 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,the at last has carried out a testing on the software engineering knowledge hierarchy .
The computer games design and practice are designed o eclipse developing platform with C++ developing instrument ,under Microsoft Windows XP system this time.
Key Words: electronic game calculate way C++ test
目录
1引言 (1)
1.1课题背景 (1)
1.2毕设意义 (2)
2需求与算法分析 (3)
2.1需求分析 (3)
2.1.1 游戏需求 (3)
2.1.2游戏界面需求 (4)
2.1.3 游戏形状(方块)需求 (4)
2.2算法分析 (5)
2.2.1定义方块的数据结构 (5)
2.2.2俄罗斯方块流程 (6)
3系统功能实现 (8)
3.1产生主窗口 (8)
3.2定义俄罗斯方块数据结构 (9)
3.3游戏的主逻辑 (10)
3.4销行功能实现 (12)
3.5中断操作流程的实现 (14)
3.6变形的实现 (16)
3.7 游戏区域绘图的实现 (17)
3.8 游戏方块绘制 (21)
3.9 烟花燃放功能 (23)
4功能测试 (27)
4.1测试环境 (27)
4.2图像功能测试 (27)
4.3销行和计分功能测试 (30)
4.4速度功能测试 (32)
5总结 (34)
[参考文献] (35)
致谢 (36)