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

  • SortAnimation
    关于快速排列的动画演示,由java swing写成(quick sort)
    2011-11-15 06:12:27下载
    积分:1
  • GuessNumber
    用java做的一个小游戏,随机产生一个100以内的数字,让玩家猜,猜的大了会提示大了,反之提示小了,直到猜中为止(Viewing of a java game)
    2013-05-20 21:18:20下载
    积分:1
  • WEB_Chat_Room
    java常连接通信,java基于web聊天系统(java often connected communication)
    2014-02-26 16:27:56下载
    积分:1
  • Struts2
    Struts学习文档,内有详细实战例子。并有大量的企业实战经验分享,包括一些开发中常见的问题的解决方法。(The Struts learning document with detailed real example. And a lot of hands-on experience to share, including some of the common problems in the development of the solution.)
    2013-04-08 19:06:25下载
    积分:1
  • ExamingSystem
    利用socket技术来实现C/S模式的考试系统(examing system with sockey tecknological to implements the examing system )
    2020-12-02 19:49:26下载
    积分:1
  • JAVA
    使用java语言通过反射创新类的新对象,实现功能(Using java language class through reflection innovative new objects, to achieve functional)
    2013-06-09 10:30:56下载
    积分:1
  • netbanking
    NETBANKING ONLINE SYSTEM
    2012-12-16 14:21:57下载
    积分:1
  • J2EE_INTERVIEW
    J2EE面试题集锦(附答案) 一、基础问答2.抽象类和接口的区别(J2EE allehanda face questions (with answers) of a basic Q )
    2008-04-28 21:51:12下载
    积分:1
  • Publisher_Manager
    一套基于数据库开发的个人出版物管理系统, 使用Hibernate来进行持久化, 数据库连接选用MySQL, 使用java 和 ant来进行连接。 使用JUnit进行测试。 包含源代码、需求分析、文档和测试代码。(A set of publications based on database management systems developed by individuals, using Hibernate to carry out persistence, database connection use MySQL, the use of java, and ant to make a connection. The use of JUnit for testing. Contains the source code, requirements analysis, documentation and test code.)
    2009-11-23 16:51:54下载
    积分:1
  • DownBDFile
    诛仙降级代码,可降级1611以上最新端,熟悉java的朋友就能直接看懂(Zhu Xian downgrade code that may be downgraded more than 1611 end date, familiar friends will be able to directly read java)
    2016-02-17 18:58:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载