【delphi开源代码栏目提醒】:网学会员--在 delphi开源代码编辑为广大网友搜集整理了:VB做扫雷游戏 - 编程语言绩等信息,祝愿广大网友取得需要的信息,参考学习。
编号 南京航空航天大学 题 目 用VB实现一个简单的游戏 学生姓名 学 号 学 院 专 业 班 级 指导教师 毕业设计论文报告纸 1 南京航空航天大学 本科毕业设计论文诚信承诺书 本人郑重声明所呈交的毕业设计论文题目 是本人在导师的指导下独立进行研究所取得的成果。
尽本人所知除了毕业设计论文中特别加以标注引用的内容外本毕业设计论文不包含任何其他个人或集体已经发表或撰写的成果作品。
作者签名 年 月 日 学号 毕业设计论文报告纸 2 用VB实现一个简单的游戏 摘要 当前随着计算机应用及网络的的深入普及越来越多的政府部门、厂矿企业、学校等单位及个人都拥有了自己的计算机计算机不仅在工作方面给人们以很大的帮助还给人们带来了多种的娱乐享受.操作系统自带的游戏也起到了很大的娱乐作用而且它的开发成本小所以小游戏的开发在这种形势下就应运而生它的开发主要采用VC VB 等编程语言. 本设计采用VB编写VB一直以来被认为有以下优缺点:优点是上手快、开发效率高缺点是能力有限运行效率低.这正是有些软件把VB做为首选语言而有些软件肯定不会用VB做的原因.而很多VCDELPHI的程序员都认为VB里搞开发不自由.的确简单和功能强大这两者本身就是一对矛盾. 扫雷游戏是操作系统中的一个主要的益智类游戏. 用户对鼠标进行操作单击鼠标左键为踩雷单击鼠标左键在标记疑问空白三种状态中循环同时单击鼠标左右键为踩单击点在内的周围九格内所有没有标记为已标记的所有格子.同时程序从你单击第一次时开始计时到胜利或引爆地雷终结.结束后单击开始按钮重新开始游戏.这款游戏实现了开发人类大脑思维的目的. 关键词 VB扫雷游戏 毕业设计论文报告纸 3 Realizes a simple game with VB Abstract Front is applied along with the calculator and network of of the thorough universality more and more governments section factory mineral business enterprise school...etc. unit and individual all owned own calculator the calculator is not only to give people in the aspects of working with the very big help returning to people brought various amusements enjoys. the operate system also rose from the game that take very big amusement function and it of the cost of development is small so the development of the get-away drama under this kind of situation emerge with the tide of the times it of main adoption in development VC VB etc. plait distance language. This design adoption VB plait writes the VB hases been passing for to have since then below merit and shortcoming:The advantage is to undertakes quick development the efficiency is highThe weakness is an ability limited circulate the efficiency low.This exactly some softwares is used as a reason for choose the language but some softwares is affirmative and do with the VB of VBs.And a lot of VCs the DELPHI procedure member thinks the VB in make the development not free. Really it is simple to is strong and big with the function this both oneself is an one rightness antinomy. The mine clearance game is an operate system inside of a grows in wisdom a game primarily. The customer proceeds the operation to the rat mark the left key in mark in rat in single shot is for trampling the thunder the single shot rat marks the left key in marking question blank three kinds of appearances circulating the single shot rat marks or so key as to trample at the same time the single shot orders the surroundings in inside nine the marking had in spaceses are already all blanks of the marking.At the same time procedure is from you single shot first time hour starts accounting arrive victory or set off the land mine end.Ending the single shot in empress starts pressing button restarting the game.This game realizes the purpose of the human brain in development thought. Key words:VBThe mine clearance game 毕业设计论文报告纸 4 目 录 1引言 .............................................................. 5 2 Visual Basic概况 ................................................. 6 2.1 VB简介 ....................................................... 6 2.2 本设计运用的技术 .............................................. 7 3可行性分析 ........................................................ 6 4总体设计 .......................................................... 7 4.1设计构想 ...................................................... 7 4.2流程规划 ...................................................... 7 5详细设计 .......................................................... 9 5.1画面规划 ...................................................... 9 5.2 设计过程 ..................................................... 10 5.2.1 添加菜单 ................................................ 10 5.2.2 自定义窗体设计 .......................................... 10 5.2.3 关于窗体设计 ............................................. 16 5.3 运行界面 ..................................................... 16 6系统测试 ......................................................... 18 结束语 ............................................................ 19 参考文献 .......................................................... 20 附录............................................................... 22 毕业设计论文报告纸 5 1引言 本论文研究的是以Visual Basic 6.0为开发环境设计并开发一款扫雷游戏其功能类似于Windows操作系统自带的扫雷游戏论文首先介绍了制作游戏的整体思路及整个游戏设计的流程规划然后介绍了雷区的布置及地雷随机产生的实现方法重点介绍了在游戏过程中各事件的处理其中又以鼠标事件和清除未靠近地雷区方块这两方面最为重要鼠标事件是利用鼠标所发出的信息了解使用者的意图进而做出相对应的动作而清除未靠近地雷区方块由于引进了“递归”这个概念而使其简单化 扫雷游戏是WINDOWS系统自带的一个娱乐性的小游戏在玩扫雷游戏的过程中也可以很好的培养耐心和细心同时在无聊得时候可以用以休闲娱乐如果我们自己也能动手做一个小程序来实现这个功能自然能乐在其中。
本次设计只是完成了扫雷游戏的基本功能在细节方面仍有待完善 毕业设计论文报告纸 6 2 Visual Basic概况 2.1 VB简介 VISUAL BASIC是微软公司出品的一个快速可视化程序开发工具软件。
借助微软在操作系统和办公自动化软件的垄断地位VB在短短的几年内风靡全球。
VB是极具特色和功能强大的软件主要表现所见即所得的界面设计基于对象的设计方
上一篇:
应用于手机上的浏览器的设计研究
下一篇:
10years匿名社交网