- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
太原理工大学毕业设计(论文)用纸
PAGE \* MERGEFORMATi
基于QT的俄罗斯方块游戏
设计与实现
摘 要
为了能够更进一步掌握Qt编程,我决定用Qt开发一个单机版的的俄罗斯方块游戏。俄罗斯方块的实现由四块正方形的色块组成,计算机随机产生不同七种类型的方块,根据计算机时钟控制它在一定的时间不停的产生,用户根据键盘的四个方向键控制翻转、向左、向右和向下操作,(控制键的实现是由键盘的方向键的事件处理实现)。然后程序根据这七种方块堆叠成各种不同的模型。
本次设计用到的工具是基于UBUNTU或windows下的QT软件实现,图行界面的处理都是代码实现.
论文描述了游戏的历史,开发此游戏的环境,游戏开发的意义。遵循软件工程的知识,从软件问题定义开始,接着进行可行性研究、需求分析、概要设计、详细设计,最后对软件进行了测试,整个开发过程贯穿软件工程的知识体系。本游戏操作简单,界面清晰,让玩家容易上手操作。
关键词:游戏设计;算法;数组;事件;QT
全套设计加扣 3012250582
Design and implementation of Tetris, based on the QT
ABSTRACT
In order to further grasp the Qt programming, I decided to use Qt to develop a stand-alone version of the game tetris.Tetris implementation is composed of four square of color piece, the computer randomly generate different seven types of square, according to the control it in a certain amount of time on the computer clock, users according to the four keyboard direction key control flip, left, right and down operation, (the realization of the control key is by the keyboard direction key event handling implementation).Then the program according to the seven squares stack into a variety of different models.
The design tool used is based on the QT under UBUNTU or windows software, the graph line interface processing is code to achieve.
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. This game is simple, clear interface, easy operation for players.
Key words:game design;calculate way;several;event;QT
目 录
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc390466431 摘 要 PAGEREF _Toc390466431 \h i
HYPERLINK \l _Toc390466432 AB
您可能关注的文档
- 毕业设计(论文)-1602LCD显示的秒表.doc
- 毕业设计(论文)-BT下载工具设计与实现.doc
- 毕业设计(论文)-C语言源码评判系统设计与实现.doc
- 毕业设计(论文)-E-mail客户端的分析与实现.doc
- 毕业设计(论文)-JAVA版扫雷游戏.doc
- 毕业设计(论文)-Java实现推箱子游戏.doc
- 毕业设计(论文)-java同学录管理系统.doc
- 毕业设计(论文)-Linux电影播放器设计与实现.doc
- 毕业设计(论文)-MP3播放器的设计与实现.doc
- 毕业设计(论文)-博士生管理系统.doc
- 四川省德阳市罗江中学2025届高三考前热身化学试卷含解析.doc
- 山东省枣庄现代实验学校2025届高三下学期第五次调研考试化学试题含解析.doc
- 吉林省长春市十一高中等九校教育联盟2025届高三一诊考试生物试卷含解析.doc
- 2025届江苏省盐城市伍佑中学高考仿真模拟化学试卷含解析.doc
- 2025届广西贺州中学高考冲刺押题(最后一卷)生物试卷含解析.doc
- 安徽省池州市贵池区2025届高三第一次模拟考试生物试卷含解析.doc
- 宁夏银川一中2025届高三(最后冲刺)化学试卷含解析.doc
- 广东省广州市增城区四校联考2025届高考压轴卷化学试卷含解析.doc
- 2025届邯郸市第一中学高考生物必刷试卷含解析.doc
- 2025届安徽省安庆市石化第一中学高考仿真卷化学试卷含解析.doc
最近下载
- 酱卤肉制品检验报告.doc
- 安徽省综合评标评审专家入库、续聘考试试题.pdf VIP
- 2024年甘肃省眼镜验光员竞赛理论选拔考试题库(500题).docx VIP
- 中国近代法律制度课件.pptx
- 2022小学英语新课标考试试题含部分答案(共两套).docx VIP
- 中医外科学男性不育症医学精品课件.ppt
- 2024年河北省眼镜验光员竞赛理论选拔考试题库(500题).pdf VIP
- 计算机应用基础教程(Windows10+Office2016)PPT全套完整教学课件.pptx
- 匀变速直线运动的规律应用教学设计人教课标版(教案).docx
- 2024年396经济类联考综合能力考研真题及答案(缺逻辑).pdf VIP
文档评论(0)