CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 游戏

文件名称:GuessNumberGame

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-11-04
  • 文件大小:
    22.76kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

编写程序,项目名与类名均为GuessNumberGame。



每次游戏程序随机产生一个0-9之间的整数,要求玩家输入自己猜的数字,并对用户输入数字进行检查,进行如下提示:



n 如果用户猜对了,则提示:恭喜你,猜对了。结束本次游戏。



n 如果用户猜错了,则提示:你猜的数字太(大或小)了。要求用户继续猜。



如果连续3次没有猜对,则提示:游戏失败。



一次游戏结束时,提示用户是否继续新的游戏,果用户选择继续,则开始新一次游戏,否则输出:你共进行了XXX次游戏,成功XXX次,失败XXX次。然后结束程序运行。



-Programming, project name and class name are GuessNumberGame.



        Each game program generates a random integer between 0-9, requires players to enter their guess numbers, and lets users enter numbers to check the following tips:



n If you guess right, the prompt: Congratulations, you guessed it. The end of this game.



n If you guess wrong, you are prompted: Guess the number too (large or small) a. Requires the user to keep guessing.



If you have not guessed it three consecutive times, the prompt: Game failed.



        Once the game ends, the user is prompted whether to continue a new game, if the user choose to continue, you start a new game again, otherwise the output: XXX times you conducted a total game, success XXX times fail XXX times. Then the end of the program run.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

GuessNumberGame/build/built-jar.properties
GuessNumberGame/build/classes/GuessNumberGame/CompareNumber.class
GuessNumberGame/build/classes/GuessNumberGame/CompareNumber.java
GuessNumberGame/build/classes/GuessNumberGame/GlobalVariables.class
GuessNumberGame/build/classes/GuessNumberGame/GlobalVariables.java
GuessNumberGame/build/classes/GuessNumberGame/GuessNumberGame.class
GuessNumberGame/build/classes/GuessNumberGame/GuessNumberGame.java
GuessNumberGame/build.xml
GuessNumberGame/dist/GuessNumberGame.jar
GuessNumberGame/dist/README.TXT
GuessNumberGame/manifest.mf
GuessNumberGame/nbproject/build-impl.xml
GuessNumberGame/nbproject/genfiles.properties
GuessNumberGame/nbproject/private/config.properties
GuessNumberGame/nbproject/private/private.properties
GuessNumberGame/nbproject/private/private.xml
GuessNumberGame/nbproject/project.properties
GuessNumberGame/nbproject/project.xml
GuessNumberGame/src/GuessNumberGame/CompareNumber.java
GuessNumberGame/src/GuessNumberGame/GlobalVariables.java
GuessNumberGame/src/GuessNumberGame/GuessNumberGame.java
GuessNumberGame/build/classes/GuessNumberGame
GuessNumberGame/build/generated-sources/ap-source-output
GuessNumberGame/build/classes
GuessNumberGame/build/empty
GuessNumberGame/build/generated-sources
GuessNumberGame/nbproject/private
GuessNumberGame/src/GuessNumberGame
GuessNumberGame/build
GuessNumberGame/dist
GuessNumberGame/nbproject
GuessNumberGame/src
GuessNumberGame/test
GuessNumberGame

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com