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

  • Thinking-in-Java-4th-Edition
    Thinking in Java是java学习的最经典资料,该共享为第四版(Thinking in Java is the most classic java learning data, the share for the fourth edition)
    2016-02-25 11:06:32下载
    积分:1
  • CreateBean
    自动生成javabean的功能,生成get&set方法之类的东西(自动生成javabean)
    2009-12-11 11:02:06下载
    积分:1
  • InteractiveSVG
    交互式SVG图形demo的源代码,主要是网页设计前端功能(SVG demo)
    2014-02-17 20:54:20下载
    积分:1
  • Splitter
    splitter sample which can be used to demonstrate how to use split panel in java swing(splitter sample)
    2010-05-12 16:10:30下载
    积分:1
  • RGR
    rstkjdty,yhc,lcfyuldcu
    2017-12-04 20:59:36下载
    积分:1
  • CloudStack2.2UserInterface
    云计算开源平台cloudstack的相关技术资料和参考文献(Open source cloud computing platform cloudstack the relevant technical information and references)
    2013-08-03 22:07:46下载
    积分:1
  • threadtest
    java多线程示例,可以直接运行,希望对大家有所帮组Thread(java multithreading example, can run, we hope to help set Thread)
    2011-05-01 00:49:04下载
    积分:1
  • KeyguardViewMediator
    Low level access to the power manager for enableUserActivity.
    2014-02-17 13:22:12下载
    积分:1
  • MyCxfServer
    说明:  基于cxf实现的java服务器端webservice,包含一个sayHello方法,供入门者参考(Java server-side Web service based on CXF includes a sayHello method for beginners to refer to)
    2019-05-19 15:38:46下载
    积分:1
  • pcm
    说明:  此MATLAB 函数 对 data 进行编码,并返回 JSON 格式的字符向量。... jsonencode 会将MATLAB 数据类型转换为下表中列出的 JSON 数据类型。 MATLAB 数据类型 JSON 数(This MATLAB function encodes data and returns the character vector in JSON format. Jsonencode converts the MATLAB data type to the JSON data type listed in the following table. JSON Number of Data Type in MATLAB)
    2019-06-19 09:27:32下载
    积分:1
  • 696518资源总数
  • 104755会员总数
  • 1今日下载