- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
优秀计算机专业设计,顺利答辩过论文资料,欢迎参考下载!!!
分类号:TP311.1 UDC:D10621-408-(2007) 5792-0
密 级:公 开 编号:2003211053
成都信息工程学院
学位论文
扫雷游戏的设计与开发
论文作者姓名: 温 洋 申请学位专业: 网络工程 申请学位类别: 工学学士 指导教师姓名(职称): 刘永红(副教授) 论文提交日期: 2007年06月06日
扫雷游戏的设计与开发
摘 要
本论文研究的是以Visual Basic 6.0为开发环境,设计并开发一款扫雷游戏,其功能类似于Windows操作系统自带的扫雷游戏。论文首先介绍了制作游戏的整体思路及整个游戏设计的流程规划,然后介绍了雷区的布置及地雷随机产生的实现方法;重点介绍了在游戏过程中各事件的处理,其中又以鼠标事件和清除未靠近地雷区方块这两方面最为最要,鼠标事件是利用鼠标所发出的信息了解使用者的意图,进而做出相对应的动作,而清除未靠近地雷区方块由于引进了“递归”这个概念而使其简单化。
本次设计只是完成了扫雷游戏的基本功能,在细节方面仍有待以后完善。
关键词:扫雷;Visual Basic 6.0;事件;递归
The design and development of mine clearance game
Abstract
What my thesis research for is basic on the develop environment of Visual Basic 6.0 , design and develop a mine clearance game,its function is similar to the mine clearance games of the Windows Operating System .The thesis has introduced the layout of mined areas and the method of how to create the mines at random.Its mainly through the use of vairies of components in Visual Basic 6.0 and the combination of some simple calculations ;the thesis lays emphasis on introducing the processing of each event in the game .Among these events ,the mouse event and the event of clearance of the area which isn’t close to the mine field are much more important.The theory of mouse event is that the intention of user is learned by the information sent out by the mouse and then the program runs according to the information .The other event is simplified by the introduction of the concept of recursion.
This design just completed the basic function of mine clearance game.The details still need to be perfect.
Key words: Mine clearance, Visual Basic 6.0, Affairs, Recursion
目 录
论文总页数:18页
1 引言 1
1.1课题背景及意义 1
1.2开发工具的选用及介绍 1
2 游戏的总体分析与设计 3
2.1设计构想 3
2.2流程规划 4
2.3画面规划 5
3 游戏的详细设计 6
3.1游戏初始化 6
3.2雷区的布置 9
3.3游戏中主要模块的介绍与使用 10
3.3.1鼠标事件 10
3.3.2地雷及雷区表面探测情况 12
3.3.3清除未靠近地雷的方块 12
3.3.4游戏难度的选择 14
3.4游戏的判断 14
3.4.1游戏成功完成 14
3.4.2游戏失败 14
4 游戏测试结果 15
结 论 15
参考文献 16
致 谢 17
声 明 18
引言
课题背景及意义
在计算机逐步渗入社会生活各个层面的今天,计算机已经成为人们日常
文档评论(0)