| 设计 任务书 文档 开题 答辩 说明书 格式 模板 外文 翻译 范文 资料 作品 文献 课程 实习 指导 调研 下载 网络教育 计算机 网站 网页 小程序 商城 购物 订餐 电影 安卓 Android Html Html5 SSM SSH Python 爬虫 大数据 管理系统 图书 校园网 考试 选题 网络安全 推荐系统 机械 模具 夹具 自动化 数控 车床 汽车 故障 诊断 电机 建模 机械手 去壳机 千斤顶 变速器 减速器 图纸 电气 变电站 电子 Stm32 单片机 物联网 监控 密码锁 Plc 组态 控制 智能 Matlab 土木 建筑 结构 框架 教学楼 住宅楼 造价 施工 办公楼 给水 排水 桥梁 刚构桥 水利 重力坝 水库 采矿 环境 化工 固废 工厂 视觉传达 室内设计 产品设计 电子商务 物流 盈利 案例 分析 评估 报告 营销 报销 会计 | |||||
|
|||||
|
|||||
|
|||||
基于Java的Windows扫雷游戏的设计与实现摘 要扫雷这款游戏有着很长的历史,从扫雷被开发出来到现在进行了无数次的优化,这款游戏变得越来越让人爱不释手了,简单的玩法在加上一个好看的游戏界面,每一处的细节都体现了扫雷的魅力。所以本次的毕业设计我将开发一款扫雷游戏。本次毕业设计是以JAVA语言作为开发环境,使用Eclipse设计并开发一个类似Windows扫雷的游戏,实现其基本功能。论文首先介绍了课题背景,其次进行了需求分析及可行性分析;然后设计游戏流程,介绍雷区中的雷怎么安放和产生雷的随机算法;最后介绍游戏中可能会触发的各种时间,比如鼠标点击时间和清理掉没有雷的格子,其中鼠标事件包括点击到或没有点击到雷触发的事件和点击到重新开始以及菜单触发的事件,清理掉没有雷的格子就需要使用“递归”的方法来使该功能可以简单的实现。关键词:扫雷;Eclipse;事件;递归Design and Implementation of Mine GameAbstractMine the game has a long history, from the mine was developed to now numerous optimization, the game is becoming more and more let a person fondle admiringly, simple style with a nice game interface, every detail reflects the charm of mine. So I'm going to develop a minesweeper game.The graduate design study was designed with the JAVA language as a development environment, using Eclipse to design and develop a game like Windows minesweeper to implement its basic functions. The paper firstly introduces the background of the project and analyzes the requirements and feasibility analysis. Then the game process was designed to introduce the random algorithm of how the thunder in the minefield was placed and produced. Finally introduced the game may trigger a variety of time, such as a mouse click on the clear time and there is no ray of diamonds, mouse events including click to or no click to ray trigger events and click to restart and menu trigger events, clearing out squares no ray will need to use the "recursive" methods to make the function can be simple to implement.Key words: Mine game; Visual Basic 6.0; Affairs; Recursion目 录摘 要 iAbstract ii1 绪论 11.1 课题背景及意义 11.2 开发工具的选用及介绍 11.3 选题目的和意义 21.4 本文主要研究的内容 22 需求分析 32.1 可行性分析 32.2 扫雷游戏功能描述 32.3 扫雷游戏用例图 42.4 扫雷游戏功能需求 42.5 扫雷游戏界面需求 52.6 扫雷游戏功能模块 63 游戏的概要分析与设计 73.1 设计构想 73.2 流程规划 83.3 界面规划 93.4 算法思想 94 游戏的详细设计 114.1 游戏初始化 114.2 雷区的布置 124.3 游戏中主要模块的介绍与使用 134.3.1 鼠标事件 134.3.2 地雷及雷区表面探测情况 144.3.3 清除未靠近地雷的格子 154.3.4 游戏难度的选择 164.3.5 菜单栏的功能 164.4 游戏的判断 164.4.1 游戏成功完成 164.4.2 游戏失败 164.5 类设计 174.5.1 MineGame类 174.5.2 Block类 184.5.3 BlockView类 194.5.4 Record类 204.5.5 ShowRecord类 214.5.6 MineArea类 224.5.7 LayMines类 235 游戏实现 255.1 游戏难度自定义 255.2 扫雷 285.2.1 玩家通过右键进行扫雷,并显示小红旗 285.2.2 玩家因触碰到雷而导致游戏结束 295.2.3 玩家扫雷成功 295.2.4 玩家游戏数据显示 305.3 程序打包发布过程 326 游戏测试结果 336.1 游戏难度自定义测试 336.2 扫雷测试 356.3 玩家游戏数据显示测试 376.4 游戏数据显示区测试 396.5 递归算法测试 43结 论 44参考文献 45致 谢 47外文原文 48中文翻译 55













毕业66资料站 biye66.com ©2015-2026 版权所有 | 微信:15573586651 QQ:3903700237
本站毕业设计和毕业论文资料均属原创者所有,仅供学习交流之用,请勿转载并做其他非法用途.如有侵犯您的版权有损您的利益,请联系我们会立即改正或删除有关内容!