- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于Java的俄罗斯方块的设计和实现(含源文件).doc
本科生毕业论文(设计)
基于Java的俄罗斯方块的设计与实现
姓 名 号 专 业 指导教师 此设计在Microsoft Windows XP系统下以为开发语言在开发平台上进行游戏的设计与关键词:
Abstract
Tetris is a popular global diversification of terminal enduring game.Simple basic rules of the game is rotating, moving, automatic random output of 7 kinds of shape square game. It forms 28 kinds of shape, after rotating cube stacked together, forming complete one or more lines to eliminate score. Its level automatically rises with the score. The game is easy for young and old, has become a household name.
This paper not only give the detailed analysis of the traditional Tetris which based on the basic principle and simple rules but also develop the color variable model, such as random change the background color and foreground color and so on. Further more, in this paper, the above functions are given the implementation process, the detailed description, and some source code.
The paper expounds the history of the game, develops the meaning of the game and the environment of design. According to the relevant knowledge of software engineering, the author reports the demand analysis, outline design, detailed design, planning and execution of the test. This design is under Microsoft Windows XP system, based on Java development language, the MyEclipse development platforms to carry on the design and implementation of the game.
Key Words: Game, Tetris, Software engineering, MyEclipse
目 录
1 引 言 1
2 系统的需求分析 2
2.1 系统需求 2
2.2 接口控制 2
3 系统的概要设计 4
3.1 软件运行和开发工具 4
3.2 系统功能设计 4
3.2.1 手工处理业务的基本流程 4
3.2.2 基本流程的功能模块 5
4 系统的详细设计与实现 8
4.1 游戏主界面显示模块 8
4.2 画布、方块显示模块 9
4.2.1 背景画布模块设计 10
4.2.2 预览方块模块设计 11
4.2.3 方块移动、旋转设计 14
4.3 控制面板模块 18
4.3.1 菜单栏模块设计 18
4.3.2 控制面板按钮设计 20
5 系统的调试运行 21
5.1 测试的意义及注意事项 21
5.2 游戏代码、算法的测试 21
5.3 游戏界面菜单选项的功能测试 22
5.4 按键事件的功能测试 24
5.5 方块堆砌与消行测试 25
5.6 测试结果分析 26
6 结 论 27
参考文献 28
致 谢 29
1 引 言
俄罗斯方块的影响已毋庸置疑, 当今世界的电脑、手机到处都有俄罗斯方块的踪迹,同时它更是每个游戏平台的必备游戏,相关的复制品不胜枚举。这个最早由莫斯科的数学家亚力克西·帕杰诺夫(Alexey Pajituov)所设计的作品,被公认为有史以来最畅销的经典游戏,至今魅力不减当年。亚力克西
您可能关注的文档
最近下载
- (2024秋新版)人教版七年级数学上册全册PPT课件.pptx
- dixell帝思 xc15cx-xc35cx 调试维修参数设置资料.pdf
- transcad交通需求模型手册_chapter12公交分配.pdf VIP
- 高校后勤餐饮经营发展探究——以浙江树人大学为例.pdf VIP
- 幼儿园教室环创培训.pptx VIP
- 2023辽宁沈阳市铁西区面向全区招聘社区残疾人工作专职干事8人考试备考题库及答案解析.docx VIP
- 2025年安徽省池州市辅警协警笔试笔试预测试题(附答案).docx VIP
- 《追求理解的教学设计》读书心得.docx VIP
- 糖皮质激素诱导骨质疏松诊治专家共识.pptx VIP
- 2025内蒙古巴彦淖尔市能源(集团)有限公司第二批招聘55人笔试模拟试题及答案解析.docx VIP
文档评论(0)