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

  • Hibernate_Javake_Ch04_Util
    编写HibernateUtil工具类,用工厂方法设计模式实现(Write HibernateUtil tools with factory method design pattern)
    2013-11-04 00:16:55下载
    积分:1
  • CtrlGPS
    此文件是关于GPS定位系统服务的,希望有关编程人员能用得到吧,谢谢。(Illegal very very very very much is how deep v deep v deep v)
    2013-08-12 15:32:55下载
    积分:1
  • boxzxd
    图算法可视化程序,使用java swing开发,我的毕业设计()
    2018-02-10 21:06:49下载
    积分:1
  • 5uym.com_01071505
    全面管理订单流程(包含下单,核单,发货,跟单,记账等等),物流,客户关系和销售 媒体分析,货品销售分析,话务业绩分析.()
    2008-05-03 23:04:17下载
    积分:1
  • commons-io-2.6-bin
    a tool for io, and may help to progtam.
    2018-12-09 13:31:18下载
    积分:1
  • keshe
    关于c语言课设的粮油公司进销存管理系统的课程设计 有货物管理(物资的添加,删除,修改) 有账目管理 可以查询账目清单 可以计算年度或月份或季度利润 (the program about visual c is that Warehouse Management System of company )
    2014-06-29 00:07:56下载
    积分:1
  • java
    修改实验7中定义的Rectangle类,使之拥有两个构造方法。其中一个是默认的,它使两点的坐标都为(0,0) 另一个带有4个参数,求出左上角和右下角点坐标为(2.1,3.2)、(5.2,6.3)的矩形的周长及面积,再利用带参数的构造方法创建Rectangle对象,求出左上角和右下角点坐标为(1,2)、(6.8,10.5)的矩形的周长及面积.(Modify the definition of experiment 7 Rectangle class, so that it has two constructors. One is the default, it makes two points of the coordinate of (0,0) the other with four parameters, find the upper left and lower right corner coordinates (2.1,3.2), (5.2,6.3) and perimeter and area of ​ ​ a rectangle, and then use a parameterized constructor method to create a Rectangle object, find the upper left and lower right corner coordinates (1,2), (6.8,10.5) rectangle of perimeter and area.)
    2011-11-15 15:37:42下载
    积分:1
  • Hive
    Hive 源码吧,官方下 载。(Hive Open source, download from official website)
    2018-05-09 09:24:05下载
    积分:1
  • spaceman
    SpaceMan Game, menu, and credits
    2010-11-10 07:12:28下载
    积分:1
  • Javacoursedesigncode
    《Java课程设计》随书源码,源码方便大家学习,祝网友们学习愉快!(Java course design code)
    2010-07-12 11:56:11下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载