-
caishuzi
猜数字:由计算机随机产生一个1~10000以内的数字,用户根据提示猜出该数字,功能要求如下:
(1)游戏结束条件:1)在规定时间内正确猜出该数字;2)规定用时耗完。
(2)游戏提示:根据用户的输入与所产生数字的大小关系给出正确提示,例如,随机产生数为5000,若用户输入6000,则提示“高了”,若用户输入4000,则提示“低了”。
(3)游戏结果显示:1)若用户在规定时间内正确猜出数字,则显示“恭喜!正确猜出数字***。”;2)若到达规定时间但并未猜出,则显示“很遗憾,未能在规定时间内猜出正确数字,该数字为***。” ,其中,“***”表示所需猜出的随机数。
(4)游戏时间设置:可由用户灵活设置游戏时间,此部分内容应在游戏开始前完成。
(5)游戏退出设置:在每轮游戏结束之后,给出提示语,请用户选择是否继续游戏。
(Guess the Numbers: randomly generated by computer within a 1 ~ 10000 Numbers, according to the user to guess the Numbers, functional requirements are as follows:
(1) the game conditions: 1) correctly guess the number within the given time 2) regulation is run out.
(2) game tip: according to the size of the user input and produced digital relationships give prompt, correct, for example, random number is 5000, if the user input, 6000 indicates that high , if the user input, 4000 indicates that the low .
(3) the game results showed: 1) if the user within the prescribed time to guess the Numbers correctly, is displayed congratulations! Guess the right number***. 2) but not guess, if arrive time required is displayed it s a pity that failed to guess the right number within the prescribed time, the number is***. , among them, *** needed to guess the random Numbers.
(4) : time setting can be set by the user the game time, this part should be completed before the start of the ga)
- 2020-07-04 13:20:01下载
- 积分:1
-
FEATP
王勖成老师的有限元分析教学程序FEATP(Finite Element Analysis of Wang Xu into the teacher s teaching program FEATP)
- 2020-12-11 17:39:17下载
- 积分:1
-
网络调查问卷,并分析调查结果。 网络调查问卷,并分析调查结果。...
网络调查问卷,并分析调查结果。 网络调查问卷,并分析调查结果。-Network questionnaire and analyze findings. Network questionnaire and analyze findings. Network questionnaire and analyze findings.
- 2022-04-08 10:07:26下载
- 积分:1
-
disable_all_threadwindow
Disable本线程所有的顶部窗口(Disable all the top windows of current thread)
- 2020-07-01 00:40:02下载
- 积分:1
-
Simulations-Dislocations
介绍晶体结构,以及如何构建位错,纳米孪晶,如何利用C++与matlab编程(Introduction crystal structure, and how to build dislocations, nano twins, how to use C++ and matlab programming)
- 2013-09-05 15:19:16下载
- 积分:1
-
易安卓8266 控制LED灯(demoe4a.e4a)
易安卓8266 控制LED灯(demoe4a.e4a)
- 2021-05-06下载
- 积分:1
-
qt和gprs
在linux下的QT与GPRS的综合应用案例,能够实现qt界面控制GPRS打电话,接电话,发短信,接收短信,上传和接收数据,该工程经调试后运行情况良好。
- 2022-06-14 12:26:57下载
- 积分:1
-
CMFECToolTip
浮动鼠标提示信息
添加类CMFECToolTip
实现:鼠标移动到一个控件上时,会弹出一个提示框
(Floating the mouse message Add Class CMFECToolTip implementation: a control mouse, it will pop up a prompt box)
- 2010-10-08 09:18:55下载
- 积分:1
-
nearest-point-two-dimensional-space
本代码实现了算法导论中二维空间下的最近点对查找的算法。(Find the nearest point on the two-dimensional space under)
- 2014-01-15 09:25:57下载
- 积分:1
-
KLM8G1GEME-B041(eMMC5.1 1ynm based e_MMC)1.0
三星8G KLM8G1GEME emmc5.1 数据手册(Samsung 8G KLM8G1GEME emmc5.1 Data Manual)
- 2020-06-25 05:20:02下载
- 积分:1