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

  • Item
    Represents an Item COMPREHENSION-TLV object.
    2014-02-24 16:19:23下载
    积分:1
  • xungeng
    说明:  用于安防上的巡更管理系统,主要是记录巡更人电的巡查时间。便于进行考核等作用。(for Security Patrol on the management system is mainly records-- were patrolling the inspection time. Facilitate evaluation of function.)
    2006-03-18 09:26:09下载
    积分:1
  • dianzicidian
    一个java编写电子词典的课程设计,希望对大家有用(Write a java curriculum design electronic dictionary)
    2013-11-28 17:25:50下载
    积分:1
  • contact-management-system
    java的通讯录,有查找联系人,添加联系人,显示联系人,保存联系人等功能(contact management system)
    2016-06-15 15:26:40下载
    积分:1
  • 计算器
    通过java语言,实现了一个简单方便的计算器。(A simple calculator is implemented.)
    2020-06-25 14:00:01下载
    积分:1
  • JSD1202_T-ELTS_day02_v1_am
    这是我培训期间的JSD代码 希望对大家有用 大家相互学习 给李点哇 (this good)
    2012-04-15 23:15:04下载
    积分:1
  • 贪吃蛇
    说明:  java小游戏练手,使用GUI编程,展示了类的继承,多态。(Java small game practice, using GUI programming, show class inheritance, polymorphism.)
    2020-08-03 17:03:14下载
    积分:1
  • ssm
    spring+ springmvc + mybatis 增删改查(spring+ springmvc + mybatis query/delete/add/update)
    2020-07-02 00:20:01下载
    积分:1
  • 013JAVA.JSP城市公交查询系统
    基于J2EE的公交查询系统Bus query system based on J2EE,(Bus query system based on J2EE,)
    2019-04-16 22:41:00下载
    积分:1
  • SSMjar包
    说明:  ssmjar包 整合ssm框架的所有用到的jar包(ssm jar pakage is very duo)
    2020-06-18 04:20:02下载
    积分:1
  • 696522资源总数
  • 104042会员总数
  • 46今日下载