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

  • java2e
    JAVA编程,第二版,纯英文版本,不是国内翻译后的版本,可能需要英文功底比较好的网友(Beginning Programming With Java For Dummies, 2nd Edition)
    2009-11-17 13:08:15下载
    积分:1
  • java-learning-books
    java学习书籍,java设计模式,适用于初学者,,内容详细丰富(java learning books)
    2013-11-30 19:17:02下载
    积分:1
  • YOYOcode
    YOYO播放器的源代码,是用Java语言写的,非常经典,拿出来供各位Java学习者学习(YOYO player source code is written in Java language, very classic, you out for Learners Java)
    2010-10-22 14:55:31下载
    积分:1
  • vim25_6.7
    说明:  用于监控vmware中的各项资源,vim25jar为6.7版本(Used to monitor resources in the vmware)
    2021-03-23 09:39:16下载
    积分:1
  • DownFileGuess
    基于http协议的java断点续传http协议 断点续传.上传java java断点续传(Java HTTP based on http protocol http protocol HTTP. Upload java java HTTP)
    2013-04-12 08:40:46下载
    积分:1
  • RepairFactoryManagement-System
    基于java swing的汽修厂管理系统,可用于毕业设计,于初学者快速学习(Based on java swing garages management system can be used for graduation design, rapid learning for beginners)
    2014-04-08 14:41:55下载
    积分:1
  • mover
    使用javamial获取邮箱的收件人全部信息,主要是收件人的信息。(Recipient s information use javamial get mailbox。)
    2013-01-17 15:06:13下载
    积分:1
  • generates-machine-code
    JAVA在Windows平台上生成机器码,JAVA在Windows平台上生成机器码(JAVA generates machine code on the Windows platform.)
    2016-11-07 10:20:17下载
    积分:1
  • 21
    good codes for JavaWeb study. include JSP JavaScript CSS. the 21.zip is a project about ninegrid web,really beautiful and easy study for beginner.
    2014-02-27 14:25:54下载
    积分:1
  • Wicked-Cool-Java
    Wicked Cool Java contains 101 fun, interesting, and useful ways to get more out of Java. This isn’t intended as a Java tutorial–it’s targeted at developers and system architects who have some basic Java knowledge but may not be familiar with the wide range of libraries available. Full of example code and ideas for combining them in useful projects, this book is perfect for hobbyists, and professionals will find tips and open-source projects to enhance their code and make their jobs easier. Topics include converting a non-XML text structure into XML using a parser generator, experimenting with a Java simulator for the Cell Matrix, creating dynamic music and sound in Java, working with open-source class libraries for scientific and mathematical applications, and many more.
    2012-10-24 23:52:26下载
    积分:1
  • 696518资源总数
  • 105531会员总数
  • 4今日下载