-
-the-poker-game
本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。
单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said.
Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
- 2013-08-19 15:13:48下载
- 积分:1
-
Tetris
说明: vc++做的俄罗斯方块游戏,具有统计分数,级别
设置。(vc++ to do the Tetris game, with a statistical score, level setting.)
- 2011-04-14 14:25:52下载
- 积分:1
-
Snake_Source100802
贪吃蛇
利用屏幕的左右单击控制方向。(Snake using the left and right click control the direction of the screen.)
- 2010-08-02 10:13:09下载
- 积分:1
-
gvfsnakeMATLAB
中医学是我国传统文化的瑰宝。舌诊是中医临床进行辨证论治过程中的一‘个
重要程序,其临床应用价值及理论意义得到古今医学家及不少国外医学家的充分
肯定。临床上对于各种疾病,往往结合辨舌来决定诊断和治疗,是中医诊治疾病
的特色之一,为历代医家所重视。(In traditional Chinese mescal
diagnosis,tongue diagnosis
is
important parts)
- 2020-08-17 14:08:22下载
- 积分:1
-
code
植物大战僵尸游戏开发,运用gdi技术,对于c初学者很有用!(Plants vs. Zombies)
- 2016-01-08 17:02:52下载
- 积分:1
-
vbcaishuzi
简单的猜数字小游戏,vb初学入门看看,适合入门者(Number guessing game, vb beginner entry)
- 2009-09-05 19:42:28下载
- 积分:1
-
Snake
一个基于Visual C++的简单的贪吃蛇小游戏(Snake game)
- 2016-01-21 14:34:12下载
- 积分:1
-
migong_all_path
迷宫问题,完成的是一个现实中的迷宫游戏求最短路径及所有路径的问题,本程序相对于航班信息查询系统比较简单,主要包含使用系统迷宫(可以选择迷宫的入口和出口,并输出所有路径和最短路径),使用新建迷宫(可以自己设计迷宫的大小,及所有通路,可以选择迷宫的入口和出口,并输出所有路径和最短路径),用到了栈的使用,如栈的创建、入栈、出栈等函数功能。 (Maze problem, complete the maze is a real game for the shortest path and all paths of the problem, the program relative to the flight information inquiry system is relatively simple and mainly consists of a maze using the system (you can select the entry and exit the maze, and the output of all path and the shortest path), use the new labyrinth (maze can design the size, and all the channels, you can choose the maze entrance and exit, and output all the paths and the shortest path), use the stack to use, such as the creation of the stack, stack , the stack so the function function.)
- 2010-05-25 12:41:49下载
- 积分:1
-
wasdewf
小游戏开发实例。里面有很多小游戏的源代码以及解说。(games source code)
- 2011-11-29 20:33:18下载
- 积分:1
-
RobotViewCoDE
机器人避让障碍物的一个测试程序,主要关注的是算法本身,测试的时候只要点击设定里面的设置障碍物然后寻道即可。(Robot avoid obstacles a test procedure, the main concern is the algorithm itself, the test set when clicking inside the obstacle and then seek to set up.)
- 2013-07-03 11:47:15下载
- 积分:1