文件名称:caishuziyouxi
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 1次
- 提 供 者:
- 夜**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
java随机数的问题
编写(Applet程序)一个猜数字的游戏。游戏规则如下:程序从1到10随机选择某个数让你猜,applet显示提示行:1到10之间猜一个数。玩者在文本区输入第一次猜的数,然后按回车。如果猜错了,程序显示“高了,继续”或“低了,继续”来帮助玩者接近正确值。当用户输入了正确的值,则程序显示“恭喜你猜对了,你很聪明~”,并清除文本框,使用户可以重新玩这个游戏。-java random numbers to prepare the (Applet Procedure)猜数字a game. The rules of the game are as follows: 1-10 from a random selection of a few let you guess, applet shows prompt: 1-10 to guess a number between. Play area in the text input of a number of the first guess, and then press Enter. If am wrong, the program shows " high, and continue" or " low, and continue to" play to help those close to the correct value. When the user entered the correct value, the program displays " Congratulations, you guess it right, you are very smart ~" and clear the text boxes so that users can re-play of the game.
编写(Applet程序)一个猜数字的游戏。游戏规则如下:程序从1到10随机选择某个数让你猜,applet显示提示行:1到10之间猜一个数。玩者在文本区输入第一次猜的数,然后按回车。如果猜错了,程序显示“高了,继续”或“低了,继续”来帮助玩者接近正确值。当用户输入了正确的值,则程序显示“恭喜你猜对了,你很聪明~”,并清除文本框,使用户可以重新玩这个游戏。-java random numbers to prepare the (Applet Procedure)猜数字a game. The rules of the game are as follows: 1-10 from a random selection of a few let you guess, applet shows prompt: 1-10 to guess a number between. Play area in the text input of a number of the first guess, and then press Enter. If am wrong, the program shows " high, and continue" or " low, and continue to" play to help those close to the correct value. When the user entered the correct value, the program displays " Congratulations, you guess it right, you are very smart ~" and clear the text boxes so that users can re-play of the game.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
一个猜数字的游戏说明.txt
代码.java
代码.java