猜数字Guess.zip

上传者: blackButterFly11 | 上传时间: 2021-06-02 14:03:51 | 文件大小: 617KB | 文件类型: ZIP
2、猜数字游戏:完成一个猜数字的GUI游戏。开始游戏后,产生一个没有重复数字的4位随机数,用户每猜一个数字,显示出“完全猜中的数字个数”和“猜中数字但位置错误的数字个数”,比如nAmB,数字n表示猜中的位置正确的数字个数,数字m表示数字正确而位置不对的数字个数。例如,正确答案为5234,如果用户猜5346,则显示:1A2B,数字1表示数字5及其位置猜对了,数字3和4这两个数字猜对了,但是位置没对,记为2B。然后,用户根据游戏提示的信息继续猜,直到猜中为止。同时设计规则,根据猜中的次数计算积分,并可以显示不同用户的排行榜。

文件下载

资源详情

[{"title":"( 28 个子文件 617KB ) 猜数字Guess.zip","children":[{"title":"Guess","children":[{"title":"db","children":[{"title":"NewScore.java <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"LoginDao.java <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"updateScore.java <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"FirstinDao.java <span style='color:#111;'> 764B </span>","children":null,"spread":false},{"title":"DButil.java <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"rankDao.java <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":true},{"title":"Guess.iml <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Firstin.java <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"Result.java <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"Game.java <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"Instruction.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"rankCli.java <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"Client.java <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"Guess.java <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"Login.java <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"Rank.java <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"MainFrame.java <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"kotlinc.xml <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"dataSources","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"背景.jpg <span style='color:#111;'> 166.61KB </span>","children":null,"spread":false},{"title":"边框.jpg <span style='color:#111;'> 38.33KB </span>","children":null,"spread":false},{"title":"主页面.jpg <span style='color:#111;'> 162.13KB </span>","children":null,"spread":false},{"title":"说明.JPG <span style='color:#111;'> 257.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"DIY","children":[{"title":"myButton.java <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"GuessNumber","children":[{"title":"Gfinal.java <span style='color:#111;'> 94B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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