-
MFC-game-example
说明: [趣味程序导学Visual.Cpp].董未名.文字版MFC,全是游戏实例([gout program guiding Visual. Cpp]. Tung. Text version MFC weiming,All game example)
- 2011-04-03 00:48:48下载
- 积分:1
-
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
-
20dianyouxi
20点小游戏,学会它可以让你在朋友前炫耀一下。(this case is a 20-point game, learn which will allow you to show off at a friend s before)
- 2012-02-17 22:19:38下载
- 积分:1
-
zhipaiyouxi
用C++实现的制作一个简单的纸牌游戏的程序源码,大家可能在做报告时遇到(With C++ Realize the production of a simple procedure for card games source, make the report in the U.S. may encounter)
- 2007-11-02 03:35:49下载
- 积分:1
-
c-tanchishe-game
运用C环境编写的贪吃蛇小游戏程序,源码文件内包括重点语句注释(Environment using C program prepared by the Snake game, the focus of the source file includes the statement notes)
- 2013-11-30 09:58:07下载
- 积分:1
-
Test
MFC平台
打砖块游戏代码
面向对象程序设计思想编写
(MFC platform BrickBreaker design object-oriented programming code written)
- 2021-01-10 13:28:51下载
- 积分:1
-
VCPP-chess
这是一个vc++的中国象棋的程序设计,较为方便(This is a vc++ programming Chinese chess, more convenient)
- 2015-05-28 10:14:40下载
- 积分:1
-
This-is-mini-game-with-c-(4)
用c语言编写的小游戏,包括大丰收游戏、吃豆子游戏,打字游戏等(C language prepared by the small games, including harvest games, Pacman games, typing games)
- 2016-09-22 15:03:19下载
- 积分:1
-
FIVE
自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
- 2013-10-10 10:56:31下载
- 积分:1
-
SingleNumber
找出只出现一次的数字,其他数字均出现了2次,时间空间尽量少(Identify only appears once, while other figures have appeared two times to minimize time and space)
- 2013-10-24 09:01:25下载
- 积分:1