登录
首页 » Java » Guessinggame

Guessinggame

于 2010-04-27 发布 文件大小:2KB
0 236
下载积分: 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 个回复

  • work
    数独游戏 a) 设计一个命令行界面的游戏,登入游戏界面后,应该有游戏规则说明,按键说明。 b) 进入游戏前应该有难度选择:1表示简单、2表示中等、3表示困难。 c) 在游戏主界面中有可以循环输入数独值、可以连续玩好几局直到退出、检查结果、查看答案、新开一局的功能。 d) 信息提示功能:输入错误时应有提示、游戏失败或获取胜利时应有庆祝界面等。 (Sudoku a) the design of a command-line interface of the game, log into the game interface, there should be rules of the game description, key instructions. b) prior to entering the game should have difficulty options: 1 means simple, 2 for moderate, 3 for difficulty. c) There can be recycled input Sudoku value, you can continuously play several bureau until you exit the game the main interface, test results, see the answer, features a newly opened office. d) Information prompts: input error when prompted, the game fails or gets victory should have celebrated interface.)
    2014-07-06 23:06:58下载
    积分:1
  • BlockGame
    俄罗斯方块的游戏 在别处下载的 希望对你们有用(Tetris game download elsewhere that you want to be useful)
    2011-11-27 20:40:43下载
    积分:1
  • 俄罗斯方块源代码
    资源描述一个小游戏俄罗斯方块的源代码,已经测试过,绝对好用,分享出来共勉
    2022-02-18 16:00:47下载
    积分:1
  • jsgame
    5种js小游戏 并返回游戏分数 有俄罗斯方块、贪吃蛇、拼图 等等(js game)
    2014-01-02 21:17:41下载
    积分:1
  • shaonei_Mine
    扫雷源代码模仿windows经典游戏扫雷源代码(Mine the source code to imitate the classic game mine the source code for windows)
    2010-12-10 17:17:31下载
    积分:1
  • 经典—坦克大战
    应用背景 一款非常流行的游戏, 当然是在我年纪较小的时候,开个玩笑,想信它一定会给你带来意想不到的收获。 你一定要好好研究其源码,不要只顾着玩啊。 关键技术坦克大战C语言开发中主要运用了C语言结构体,函数的调用,还有宏定义等等一系列C语言基础知识,但是要实现其功能必须懂得一些数据结构知识才行。还有添加图片和声音的技术也是相当重要的
    2022-02-04 19:21:09下载
    积分:1
  • wuziqi
    五子棋——实现游戏五子棋的操作。。。比较简单适合初学者(Backgammon- achieve game gobang operation. . .)
    2012-12-17 18:00:26下载
    积分:1
  • Russian-box-java-resource
    俄罗斯方块游戏绝对经典好玩通过检测完全可用可用(Absolute classic Tetris fun game fully available via testing available)
    2011-09-13 10:22:32下载
    积分:1
  • Particly
    愤怒的小鸟(Angry Birds)这款游戏的故事相当有趣,为了报复偷走鸟蛋的肥猪们,鸟儿以自己的身体为武器,仿佛炮弹一样去攻击肥猪们的堡垒。(Angry Birds)
    2013-11-10 11:35:51下载
    积分:1
  • java攀岩对战服务端Demo
    使用java编写的网络对战源码,框架用的Spring+springMVC+mybatis,数据库用的mysql,采用接口调用形式,数据传输格式为Json,本服务端程序是手机攀岩游戏的服务端系统,双方比赛进行攀岩,攀岩完成后上传成绩到服务器,服务器返回排名,已经实现登录,注册比赛,添加比赛,停止比赛修改信息等接口
    2023-06-22 05:25:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载