没有合适的资源?快使用搜索试试~ 我知道了~
java版扫雷游戏后台功能实现子系统.doc
0 下载量 174 浏览量
2023-07-07
16:03:09
上传
评论
收藏 143KB DOC 举报
温馨提示
![preview](https://dl-preview.csdnimg.cn/88014122/0001-d1aaa4721455e7cc7a58adfa394cf0b5_thumbnail-wide.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
试读
35页
java版扫雷游戏后台功能实现子系统.doc
资源推荐
资源详情
资源评论
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/release/download_crawler_static/88014122/bg1.jpg)
Java 版扫雷游戏-后台功能
实现子系统
学 院:
专 业:
指导教师:
2014 年 9 月
软件工程
![](https://csdnimg.cn/release/download_crawler_static/88014122/bg2.jpg)
Java 版扫雷游戏-后台功能实现子系统
摘 要
扫雷是一款相当大众的单人电脑小游戏,游戏目标是找出所有没有地雷的方格,完
成游戏;要是按了有地雷的方格,游戏失败。游戏以完成时间来评高低。游戏难度分成
初级、中级和高级三种,玩家亦可自行设置方块数和地雷数。
扫雷游戏简单经典,适合大多数人群的娱乐需要。随着网络、计算机技术的发展,
人们对界面、对游戏的娱乐要求越来越高。本次毕业设计的题目就是 java 版扫雷游戏-
后台功能实现子系统。本论文就毕业设计的内容,系统地阐述了扫雷游戏后台功能的设
计与实现。实现了从界面分布,登录管理,查询,到游戏运行,再到系统管理。基本上
实现了扫雷游戏界面的人性化,能够实现用户在玩游戏的过程中更加简洁、易懂,上手
更加容易,增强趣味性。本系统界面简单直观,易于操作和使用,交互性强,完全基于
Internet 网络。
经过分析,我们使用 SUN 公司的 JSP 开发工具,利用其提供的各种面向对象的开发
工具,尤其是数据窗口这一能方便而简洁操纵数据库的智能化对象,首先在短时间内建立
系统应用原型,然后,对初始原型系统进行需求迭代,不断修正和改进,直到形成满意的可
行系统。
关键字:扫雷,游戏,后台
![](https://csdnimg.cn/release/download_crawler_static/88014122/bg3.jpg)
Java version of minesweeper - backstage function implementation
subsystem
Abstract
Minesweeping is a very popular single player computer games, the goal of the game is to
find all the land mine free squares, complete the game; if the mines are square, the game
failed. In order to complete the assessment level of game time. The difficulty of the game is
divided into primary, intermediate and advanced three, game player can also set the number
and mine the block number.
The classic minesweeper game simple, suitable for the majority of people need entertainment.
With the development of network and computer technology, people more on entertainment,
the game interface and. The subsystem of the graduation design topic is the Java version of
Minesweeper - back. The present paper on graduation project's content, elaborated
systematically the design and implementation of mine game back office functions. Has
realized from the interface distribution, log management, query, to run the game, and then to
the system management. Basically realize humanized Minesweeper game interface, can
realize the user in the process of playing the game more concise, easy to understand, to more
easily, more interesting. This system simple and intuitive interface, easy operation and use,
interactive, network based entirely on the Internet.
After analysis, we use SUN's JSP development tool, its use of object-oriented development
tools, especially data window can be convenient and simple manipulation of the intelligent
object database, the first in a short time establishes the system application prototype, then,
demand for the initial prototype system iteration, and constantly revised and improved, until
forming the feasible system of satisfaction.
Keywords: Mine clearance,games,background
![](https://csdnimg.cn/release/download_crawler_static/88014122/bg4.jpg)
第 I 页 共 II 页
目录
1 引言..........................................................................................................................................1
1.1 开发背景及其介绍...............................................................................................................1
1.2 开发工具的选用及其介绍...................................................................................................1
2 总体设计思想.......................................................................................................................4
2.1 系统设计方法三原则...........................................................................................................4
2.2 系统设计的体系结构..........................................................................................................4
2.2.1 扫雷游戏底层逻辑的设计................................................................................................5
2.2.2 扫雷游戏状态分类............................................................................................................6
3 概要设计..................................................................................................................................7
3.1 功能性设计...........................................................................................................................7
3.2 流程设计..............................................................................................................................8
3.3.1 雷区的生成......................................................................................................................10
3.3.2 第一次点击雷块的处理.................................................................................................12
3.3.3 提示数字颜色设定.........................................................................................................14
3.3.4 游戏难度设置.................................................................................................................14
3.3.5 鼠标左键按下相应.........................................................................................................16
3.3.6 鼠标右键按下相应.........................................................................................................17
3.4 递归算法............................................................................................................................18
3.4.1 递归算法简介.................................................................................................................18
3.4.2 游戏中的递归算法.........................................................................................................18
4 界面设计...............................................................................................................................21
4.1 主窗体的构建....................................................................................................................21
4.1.1 主窗体的界面设计..........................................................................................................21
4.1.2 运行结果界面设计..........................................................................................................21
5 程序的测试...........................................................................................................................23
5.1 测试的重要性及目的........................................................................................................23
![](https://csdnimg.cn/release/download_crawler_static/88014122/bg5.jpg)
第 II 页 共 II 页
5.2 测试的步骤........................................................................................................................24
5.3 测试的主要内容................................................................................................................24
6 总结.......................................................................................................................................26
参 考 文 献.............................................................................................................................27
致 谢.........................................................................................................................................28
剩余34页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
黑色的迷迭香
- 粉丝: 731
- 资源: 4万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)