首页 开发技术 VB     /    面向对象的VB.net版《扫雷》游戏源代码(.net2.0)

面向对象的VB.net版《扫雷》游戏源代码(.net2.0)

上传者: triumph | 上传时间:2024/9/6 2:40:12 | 文件大小:40KB | 文件类型:rar
面向对象的VB.net版《扫雷》游戏源代码(.net2.0)
面向对象的VB.net版《扫雷》游戏源代码(.net2.0)两个核心类:MineGame类和Block(砖块)类。
MineGame类封装了游戏的主要功能,如定义砖块的数量,雷的数量,翻开行为,游戏开始、结束事件等。
Block类封装了单个砖块的主要功能,如定义砖块的状态(未翻开、翻开、标记等),砖块下是否有雷,该砖块周围雷的数量等等。
界面方面,砖块使用LinearGradientBrush线性渐变填充,比Windows自带的《扫雷》要好看得多。
功能与操作方面,完全与Windows自带的《扫雷》相同,支持左右键同时点击。
另外还支持窗口尺寸的任意改变,比Windows自带的《扫雷》更方便,与Vista不同的是,在Vista的《扫雷》里,窗口只能按比例改变尺寸,而此版的可任意比例改变。
当然,砖块有只能会变成长方形^o^

文件下载

资源详情

[{"title":"(22个子文件40KB)面向对象的VB.net版《扫雷》游戏源代码(.net2.0)","children":[{"title":"Mine","children":[{"title":"Mine","children":[{"title":"mine.ico <span style='color:#111;'>24.62KB</span>","children":null,"spread":false},{"title":"Mine.vbproj <span style='color:#111;'>6.30KB</span>","children":null,"spread":false},{"title":"optionform.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"optionform.Designer.vb <span style='color:#111;'>7.47KB</span>","children":null,"spread":false},{"title":"Mine.vbproj.user <span style='color:#111;'>592B</span>","children":null,"spread":false},{"title":"MineConfig.vb <span style='color:#111;'>5.88KB</span>","children":null,"spread":false},{"title":"MainForm.vb <span style='color:#111;'>8.48KB</span>","children":null,"spread":false},{"title":"optionform.vb <span style='color:#111;'>274B</span>","children":null,"spread":false},{"title":"MainForm.resx <span style='color:#111;'>11.97KB</span>","children":null,"spread":false},{"title":"MyProject","children":[{"title":"AssemblyInfo.vb <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'>2.91KB</span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'>474B</span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'>279B</span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'>5.48KB</span>","children":null,"spread":false},{"title":"app.manifest <span style='color:#111;'>655B</span>","children":null,"spread":false},{"title":"Resources.Designer.vb <span style='color:#111;'>2.70KB</span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'>455B</span>","children":null,"spread":false}],"spread":true},{"title":"MainForm.Designer.vb <span style='color:#111;'>12.56KB</span>","children":null,"spread":false},{"title":"MineGameClass.vb <span style='color:#111;'>9.98KB</span>","children":null,"spread":false},{"title":"BlockClass.vb <span style='color:#111;'>7.14KB</span>","children":null,"spread":false}],"spread":false},{"title":"Mine.sln <span style='color:#111;'>901B</span>","children":null,"spread":false},{"title":"Mine.suo <span style='color:#111;'>28.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • JXY_66:
    数量很多,不错2020-04-01
  • qq_28739407:
    很不错,代码解释也很到位!2015-06-04
  • lucky_redtomato:
    东西做的可以,比我之前下载的好,思路也很清晰,看起来也比系统的好看一些2012-12-21
  • wolfyu:
    挺好的界面很漂亮2012-12-14
  • feat2011:
    嗯,效果不错2012-11-06

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明