(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 268
下载积分: 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 个回复

  • Java-primer
    This present a primer for people who are unfamiliar with the Java language. This introduction is intended to allow you to develop the Java skills necessary to understand basic programs.
    2009-04-23 07:47:15下载
    积分:1
  • lucene-in-action(1-2)
    lucene in action 第一、二版,英文版,第二版讲lucene3.0(lucene in action,the first and second edition,the second edition is about lucene 3.0)
    2012-04-17 09:21:22下载
    积分:1
  • jre-1_5_0_06-windows
    jre1.5.10 java运行库,java软件运行必备(jre1.5.10 java runtime library, java software operation required)
    2020-06-26 05:20:01下载
    积分:1
  • des
    说明:  stock quant trade for chinese A market, this is a test.
    2020-06-20 07:40:01下载
    积分:1
  • bookStore
    基于Spring web+Hibernate一个在线书店系统。其中引入了Spring的web框架,Spring集成了Hibernate,JSTL标签库在其中得到很好的应用。 项目里有完整的代码和详细的文档说明以及系统移植说明书,帮助大家学习和理解。(Spring web+ Hibernate based on an online bookstore system. Which the introduction of Spring' s web framework, Spring integrates with Hibernate, JSTL tag library in which the application is well. Projects have a complete code and detailed documentation and system specification transplantation to help the U.S. study and understanding.)
    2009-02-15 23:21:53下载
    积分:1
  • HeaderFilter
    前台实现grid的自动过滤,很好用,可以自己进行拓展。(Front to achieve the automatic filter grid, well used, can themselves expand.)
    2011-11-23 17:30:51下载
    积分:1
  • UDPTalker
    说明:  一个简单的P2P聊天程序,使用java开发,基于UDP,可以穿越锥形内网,可以方便的扩展成多种用途.(a simple peer-to-peer chat program, the use of java development, based on UDP, to pass through the network within the cone can be easily expanded into a multi-purpose.)
    2006-03-22 15:02:18下载
    积分:1
  • JavaUDPtranse
    进行大文件的传输,实现了UDP传输的检错(Transfer of large files to achieve the UDP transmission error detection)
    2011-07-17 13:14:33下载
    积分:1
  • tomcat8
    说明:  tomca8.5的源代码,包括connector连接器和catalina容器(tomca8.5 source code)
    2020-06-17 10:00:02下载
    积分:1
  • aidl
    夸进程调用,顾名思义,是一个夸进程调用别的程序。(The boast process called, by definition, is a boast process calls other procedures.)
    2013-04-16 08:53:24下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载