登录
首页 » Java » Guessinggame

Guessinggame

于 2010-04-27 发布 文件大小:2KB
0 253
下载积分: 1 下载次数: 0

代码说明:

说明:   猜数字游戏 1.实验目的 使用if…else和循环语句解决问题。 2.实验要求 编写一个Java应用程序,实现以下功能: (1)程序随机产生一个1~100间的整数; (2)用户在输入对话框中输入自己的猜数; (3)程序根据用户猜测的数,给出提示信息,分别是:“猜大了”、“猜小了”和“猜对了”; (4)如果用户没猜对,可根据提示信息再次输入数,直到猜对为止。 (Guessing game 1. Purpose of the experiment using the if ... else statements and loops to solve the problem. 2. Experiments required to write a Java application, to achieve the following functions: (1) program to generate a random integer from 1 to 100 (2) user input dialog box, enter your own guessing (3) program the user to guess the number of given prompts, namely: " guess big" , " guess smaller" and " guessed it" (4) If the user did not guess right, can re-enter the number of reminder, until the guess on the up.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SAMP游戏中实现反作弊系统
    说明:  它可以在SAMP游戏中实现反作弊系统。无法调试直接添加进去然后开始使用(It can implement anti-cheating system in SAMP game. Unable to debug, add it directly and start using it)
    2020-06-25 00:20:02下载
    积分:1
  • 扫雷
    实现扫雷游戏的制作,利用easyx进行图形界面的美化(Realize Minesweeping Game)
    2020-06-16 23:00:02下载
    积分:1
  • PlaneGame0.4
    说明:  用JAVA编写的简单的飞机飞行类小游戏,躲避界面内的小球(Simple flight games written in Java to avoid small balls in the interface.)
    2020-06-16 15:00:02下载
    积分:1
  • 4363473454
    易语言苹果机游戏源码,易语言写的游戏程序,很好的参考资料。(LOGO support library application of the turtle racing, easy language to write the game program, a good reference.)
    2013-10-05 13:02:14下载
    积分:1
  • Chess
    可联机玩国际象棋,具备倒计时功能以及悔棋等功能(Available on-line play chess, with the countdown function, and Undo functions)
    2009-12-17 23:10:41下载
    积分:1
  • gnuchess-6.0.3.tar
    这是一个象棋游戏,它的运行环境是Linux、Unix之类的操作系统。不仅如此,该游戏也可以在Windows环境下展开配置。尽管这较为复杂。(Chess game working on linux like Operating system。)
    2013-08-10 13:17:11下载
    积分:1
  • ju
    说明:  易语言极客数字矩阵游戏源码例程程序结合易语言扩展界面支持库实现数字矩阵游戏。 (Easy language game geek digital matrix source routine procedures combined with easy language support library expansion interface to achieve the digital matrix game. )
    2017-03-13 14:00:06下载
    积分:1
  • iLabyrinth
    一个有用的迷宫游戏,用ios写的。项目还算比较大 比较完整 (A useful maze game, written in ios. The project is relatively large More complete)
    2014-08-02 10:02:40下载
    积分:1
  • DaFeiJi
    java语言编写的一个打飞机小游戏,操作简单,好玩。适合java进阶学习者,参考。(Java language prepared by a plane game, simple, fun. Suitable for java advanced learners, reference.)
    2016-12-07 20:44:33下载
    积分:1
  • EL
    说明:  武林外传EL半成品.易语言新手看了就可以手(Swordsman EL semi-finished products)
    2014-07-14 18:32:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载