扫雷源码 + 素材 (注释完全)

上传者: chenxing0707 | 上传时间: 2019-12-21 19:33:41 | 文件大小: 59KB | 文件类型: rar
扫雷源码 + 素材 for (int x = 0; x < widthx; x++) { for (int y = 0; y < highty; y++) { gridBlank[x][y] = new Blank(); // grid[x][y].addMouseListener(); } } // 开始布雷 count = 40; do { for (int x = 0; x < widthx; x++) { for (int y = 0; y 0) { if (!(gridBlank[x][y] instanceof Bomb)) { rdm = new Random().nextInt(widthx * highty / 40); if (rdm == 1) { gridBlank[x][y] = new Bomb(); count--; } } else { continue; } } else { break; } } } } while (count > 0);

文件下载

资源详情

[{"title":"( 68 个子文件 59KB ) 扫雷源码 + 素材 (注释完全)","children":[{"title":"MineSweep","children":[{"title":"images","children":[{"title":"mine2.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"flag.gif <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"1.gif <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"7.gif <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"d10.gif <span style='color:#111;'> 883B </span>","children":null,"spread":false},{"title":"d6.gif <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"5.gif <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"d8.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"face4.gif <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"mine3.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"face7.gif <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"d2.gif <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"2.gif <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"d0.gif <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"0.gif <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"blank.gif <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"ask.gif <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"face8.gif <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"6.gif <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"face6.gif <span style='color:#111;'> 898B </span>","children":null,"spread":false},{"title":"8.gif <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"blood.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"4.gif <span style='color:#111;'> 879B </span>","children":null,"spread":false},{"title":"d5.gif <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"face9.gif <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"d9.gif <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"d3.gif <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"d1.gif <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"3.gif <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"mine1.gif <span style='color:#111;'> 905B </span>","children":null,"spread":false},{"title":"mine.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"d4.gif <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"icon.gif <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"mine0.gif <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"face1.gif <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"face3.gif <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":"ask0.gif <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"error.gif <span style='color:#111;'> 905B </span>","children":null,"spread":false},{"title":"ask2.gif <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"hole.gif <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"face5.gif <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"face2.gif <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"face0.gif <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"ask1.gif <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"d7.gif <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"org","children":[{"title":"zy","children":[{"title":"af11018","children":[{"title":"MineSweep","children":[{"title":"ui","children":[{"title":"MainContant.java <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"Mybtn.java <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"MainFrame.java <span style='color:#111;'> 13.88KB </span>","children":null,"spread":false},{"title":"InfDia.java <span style='color:#111;'> 1012B </span>","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"MineSweepMain.java <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"Bomb.java <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"Blank.java <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Number.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"org","children":[{"title":"zy","children":[{"title":"af11018","children":[{"title":"MineSweep","children":[{"title":"ui","children":[{"title":"MainFrame$1.class <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"MainFrame.class <span style='color:#111;'> 9.63KB </span>","children":null,"spread":false},{"title":"InfDia.class <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"MainFrame$MineSweepListener.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Mybtn.class <span style='color:#111;'> 801B </span>","children":null,"spread":false},{"title":"MainContant.class <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"MainFrame$MineSweepMouseListener.class <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"Bomb.class <span style='color:#111;'> 898B </span>","children":null,"spread":false},{"title":"MineSweepMain.class <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"Blank.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"Number.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 629B </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 冷月青枫 :
    不错,很好用
    2017-04-04
  • osjLzjh :
    这个资源不错,很好用,谢谢
    2015-04-10
  • 一無是處 :
    已用素材完成扫雷大作业!
    2015-04-07
  • asd09170110 :
    效果很好啊
    2014-10-17
  • e2781B7D7D38981D2 :
    = =居然是java
    2014-06-09

免责申明

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