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

  • Exe8_2
    2.设计一个9x9的棋盘窗口,用黑白相间颜色填充棋盘。棋盘大小为600x600,标题为“棋盘”,窗口大小不可改变。程序文件命名为Exe8_2.java。(2. Design a 9x9 board window, filling the board with black and white colors. Board size is 600x600, titled chessboard , the window size can not be changed. Program file named Exe8_2.java.)
    2015-06-14 18:28:58下载
    积分:1
  • a2
    Java简单小程序,album管理系统,JDBC的应用(Simple Java applet, album management system, JDBC applications)
    2013-08-04 18:33:48下载
    积分:1
  • xlc-ssm-master
    说明:  基于SSM框架的新闻管理系统。包括管理员上传等操作(News management system based on SSM framework)
    2020-10-28 14:35:06下载
    积分:1
  • StrongMoney-master
    简单的记帐工具,没有调用数据库,非常适合学生进行安卓的学习(Accounting tools simple, do not call the database, very suitable for students learning for Android )
    2014-07-09 10:50:23下载
    积分:1
  • ThreadTest
    说明:  java 中的多线程程序实例,包括:线程的创建方式、线程的生命周期、线程的方法(启动、挂起、唤醒、优先级等)(The multi-threaded java program example)
    2011-04-18 07:35:49下载
    积分:1
  • Lab3
    ejemplos de herencias en java
    2012-01-04 23:41:13下载
    积分:1
  • ansjsun-ansj_seg-fa62737
    基于JAVA中文分词,为ITEYE开源项目,很好很强大。性能高(JAVA-based Chinese word, very very strong for ITEYE open source project. High-performance)
    2012-10-31 15:48:36下载
    积分:1
  • EasyPay-master
    说明:  EasyPay(易支付)集成并高度封装了Android平台的微信支付,支付宝支付以银联支付。使用此库,开发者可以使用简单方便的api实现支付功能。 易支付编码实现遵循设计模式六大原则,并且使用了单例以及策略模式来实现整个库,扩展性良好,可以轻松扩展其他支付方式如百度,美团等。支付方式类继承IPayStrategy接口,支付信息类实现IPayInfo接口,再分别传入场景类EasyPay中即可。具体请参照代码中支付宝或者微信或者银联支付方式封装。(This is a library for Developers easily to use Alipay,WechatPay and UnionPay in Android project.)
    2020-06-25 07:00:02下载
    积分:1
  • PLSQL
    run sql script with java
    2011-08-26 18:14:13下载
    积分:1
  • lalaversion
    说明:  this version desktop develop clash with everithing
    2020-06-20 02:40:01下载
    积分:1
  • 696518资源总数
  • 104875会员总数
  • 28今日下载