VC++扫雷游戏设计.doc

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VC扫雷游戏设计

+ 本科生毕业设计(论文) 学院(系): 软件学院 专 业: 软件工程 学 生: 周++ 指导教师: 张+ 完成日期 20+ 年 4 月 +学院本科生毕业设计(论文) VC++扫雷游戏设计 Minesweeping Game design on VC ++ 总计: 毕业设计20页 表 格: 0 个 插 图: 5 幅 + 学 院 本 科 毕 业 设 计(论文) VC++扫雷游戏设计 Minesweeping Game design on VC ++ 学 院(系): 软件学院 专 业: 软件工程 学 生 姓 名: + 学 号: + 指 导 教 师(职称): + (讲师) 评 阅 教 师: 完 成 日 期: 20+9 + + VC++扫雷游戏设计 软件工程专业 + [摘 要]本论文研究的是以Visual C++ 6.0为开发环境,设计并开发一款扫雷游戏,其功能类似于Windows操作系统自带的扫雷游戏。论文首先介绍了制作游戏的整体思路及整个游戏设计的流程规划,然后介绍了雷区的布置及地雷随机产生的实现方法;重点介绍了在游戏过程中各事件的处理,其中又以鼠标事件和清除未靠近地雷区方块这两方面最为最要,鼠标事件是利用鼠标所发出的信息了解使用者的意图,进而做出相对应的动作,而清除未靠近地雷区方块由于引进了“递归”这个概念而使其简单化。 [关键词]扫雷;事件;递归 Minesweeping Game design on VC ++ Software Engineering Zhou Feng-long Abstract: This paper aims at the design and development of a Minesweeping game, based on the programming environment of Visual C++ 6.0, the function of which is similar to the namesake game of Windows OS. At first, the paper introduces the overall thinking and layout of the design, then the mine zone arrangement and the stochastic method for the generation of the mines; it mainly introduces on the description of handling the various events during the game, with emphasis on mouse events and cleaning the blocks that are not close to the mines. Mouse events utilize the information from the mouse in order to investigate the purposes of the user, and provide the corresponding reactions; while the blocks-cleaning mechanism is simplified due to the introduction of the concepts Recursion. Keywords: Minesweeping; Events; Recursion 目 录 1 课题背景及意义 1 2 系统开发工具和技术 ..1 2.1 游戏设计环境简介 1 2.2 Viusal C++简介 2 2.2.1 Viusal C++ 2 2.2.2 面向对象的程序设计 3

文档评论(0)

aena45 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档