- 1、本文档共35页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于C++的俄罗斯方块的设计与实现
摘要 俄罗斯方块这款游戏可以称作是“随着计算机的发展而发展”的,并且不断在现有基础上推陈而出新,衍生了各种各样相似的游戏,因此而深受全球不同地区玩家的喜爱。俄罗斯方块这款游戏难易程度都有,其实追根究底,各种不同的俄罗斯方块游戏原理都是基本相通的,都是游戏设计者对不断运动着的游戏方块进行各种不同组合,借此来训练玩家的各种快速反应能力。
当我们讨论到目前市面上多种多样的游戏软件,大多数人都觉得其难以自己设计实现。而事实上,大多数游戏软件的确需要程序开发者具有很高的技术水平,但随着目前可用的开发工具以及软件开发方法学的进一步前进和发展,我们自主手动开发游戏软件也变得简单易行起来。
俄罗斯方块这款游戏十分经典,并且相关的游戏版本不计其数。本文的毕业设计利用所学的算法设计、软件开发以及C++语言的课程内容成功完成了一款基于VC++ 6.0开发环境下实现的俄罗斯方块游戏。
关键词 俄罗斯方块;C++;VC++ 6.0;算法设计
Design and Implementation of Tetris Based on C++ language
Abstract Tetris worlds can be called as a game changed with the development of computer”. Based on the original game, it constantly invents some new factors in it and derived a variety of similar games. Therefore, the whole world game players like the game very much. Although this game has different difficult level to play, after all its principle of game is basically the same. Game designers are squares of movement in various combinations, to train the ability of various players’ reaction.
When we talk about the game software, most of us think it is difficult to achieve. Actually, the general game software does require a high technology, but with the further development of the software development tools and development methodology, developed the game in manual can also become possible to realize.
Games related to Tetris worlds are countless because of its enduring. This graduation project use the learning algorithm design, software development and C ++ language curriculum to complete how to achieve Tetris worlds under a VC ++ development environment.
Keywords:Tetris;C++ language;VC++ 6.0;Algorithm design
目录
TOC \o 1-2 \h \u 30922 引言 1
23621 第一章 游戏概述 2
32618 1.1 基础知识分析 2
29420 1.2 需求分析 8
28807 1.3 可行性分析 9
25213 1.4 开发环境 10
12982 第二章 游戏详细设计 12
23657 2.1 游戏具体设计 12
10793 2.2 游戏界面设计 14
21141 第三章 算法设计 18
3518 3.1 colorConsole.h 19
17067 3.2 colorConsole.cpp 20
9626 3.3 abc.cpp 21
6360 第四章 游戏测试与结论 26
18281 4.1 游戏测试 26
19845 4.2 结论 27
17845 第五章 致谢 29
158
文档评论(0)