文件名称:SmallGame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-15
-
文件大小:1.81kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序运行后,产生一个[0,100]之间的随机数,提示并接收用户从键盘输入的猜测值,返回比较信息(偏大或偏小),直至用户猜对为止,显示总的猜测次数。每次游戏结束时提示用户是否重新开始,根据用户输入确定重新开始或退出程序。将程序运行的最好记录(TOP1,成功猜测所用次数最少)的玩家信息登记到记录文件中,并适时更新。
-The program is running, resulting in a random number between [0,100], prompt, and guess the value of receiving user input from the keyboard to return to the comparative information (large or small), until you guess right so far, showing the total number of speculation . Prompt the user whether to restart at the end of each game, based on user input to determine the re-start or exit the program. The best record of the program is running (TOP1, successful speculation that use the least number of) players registered to the log file, and updated in a timely manner.
-The program is running, resulting in a random number between [0,100], prompt, and guess the value of receiving user input from the keyboard to return to the comparative information (large or small), until you guess right so far, showing the total number of speculation . Prompt the user whether to restart at the end of each game, based on user input to determine the re-start or exit the program. The best record of the program is running (TOP1, successful speculation that use the least number of) players registered to the log file, and updated in a timely manner.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TopRecord.txt
SmallGame.java
SmallGame.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.