(Guessnumber:1,gamesstarted,thecomputerrandomlygeneratedanumberofnon-repetitionofthefour-digit.2,wouldyouguessthenumberofclickstheOKbuttontosubmit.3,thecomputerwilltakeyoutosubmitafewwithitautomaticallygeneratedanumberofcomparison,theresultisdisplayedas*A*B.Arepresentativeofthelocationofthecorrectfigureisalsocorrect,Brepresentativeofthenumberofcorrectbutthelocationisincorrect,suchas:2A2Bthatyouhaveatwo-digitnumericalpositioniscorrectandalsotheright,inaddition,youguessedittwofigures,butwronglocation.4,youropportunityforatotalof10timesin10times,iftheresultsof4A0B,thegamesuccessfully.10yearsifyoudonothavetoguessthefailureofthegame.) - IMDN开发者社群-imdn.cn">
登录
首页 » Java » Guessnumber

Guessnumber

于 2021-03-22 发布 文件大小:1KB
0 168
下载积分: 1 下载次数: 4

代码说明:

  猜数字游戏 游戏说明: 1、游戏开始,电脑随机产生一个数字不重复的四位数。 2、将您猜的数点击OK按钮提交。 3、电脑会将您提交的数与它自动产生的数进行比较,结果显示成"*A*B"。A代表位置正确数字也正确,B代表数字 正确但位置不正确,比如:"2A2B"表示您有2个数字的位置正确且数值也正确,除此以外,您还猜对了2个数字 ,但位置不对。 4、您共有10次机会,在10次内,如果结果为“4A0B”,游戏成功。如果10次里您都没有猜对游戏失败。(Guessnumber: 1, games started, the computer randomly generated a number of non-repetition of the four-digit. 2, would you guess the number of clicks the OK button to submit. 3, the computer will take you to submit a few with it automatically generated a number of comparison, the result is displayed as* A* B . A representative of the location of the correct figure is also correct, B representative of the number of correct but the location is incorrect, such as: 2A2B that you have a two-digit numerical position is correct and also the right, in addition, you guessed it two figures, but wrong location. 4, your opportunity for a total of 10 times in 10 times, if the results of 4A0B , the game successfully. 10 years if you do not have to guess the failure of the game.)

文件列表:

Guessnumber.txt,2686,2010-06-28

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • test
    java两种方法编写倒置的三角形,输出第一行7个,第二行5,第三行3个,第四行1个(two ways to write java inverted triangle, the first line of the output 7, the second line 5, the third line 3, the fourth line 1)
    2010-10-20 11:05:56下载
    积分:1
  • control_characters
    Tests regular expressions containing.
    2014-01-28 11:25:52下载
    积分:1
  • Chapter09
    Heaps & Priority Queues Implementations and Apps.
    2015-04-13 02:21:36下载
    积分:1
  • PAssertedServiceParser
    Rancore Technologies Pvt Ltd, Mumbai India.
    2013-11-26 14:39:45下载
    积分:1
  • xiaoliuBBS
    功能简单,界面简单,适合初学者上手,简单易学(Function is simple, simple interface, suitable for beginners to use, easy to learn)
    2011-04-23 13:41:35下载
    积分:1
  • home3
    用java JSP实现的一个小型网站,界面简洁,功能齐全,适合入门的初学者(With java JSP to achieve a small site, simple interface, complete functions, suitable for beginners to get started)
    2014-04-28 10:57:49下载
    积分:1
  • Demo示例
    海康人脸识别DEMO,JAVA语言编写的,帮你快速入门(Haikang Face Recognition DEMO)
    2019-03-20 15:19:58下载
    积分:1
  • MyPlayerOne
    用eclipse写的简单的android音频播放器,功能单一,适合初学者。(With eclipse android do a simple audio player, feature simple, suitable for beginners.)
    2020-11-21 10:49:36下载
    积分:1
  • ProjetStrutsVide
    java struts 简单框架,用于eclipse(this simple project is a struts of java, It s easy study.)
    2012-03-18 20:25:53下载
    积分:1
  • TabPlay-viewPager
    在应用中使用ViewPager控件来进行微信界面的设计(In this application, we use ViewPager to design a interface like wechat)
    2016-04-26 22:11:16下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载