-
-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
-
Qi_Liu
在本实验中, Pacman 智能体将找到通过迷宫世界的路径, 既包括到达一个指定的位置,也包括高效地搜集食物。我们编辑文件search.py和searchAgents.py,编写一系列吃豆人程序,包括到达指定位置以及有效的吃豆,并将其应用到Pacman场景,完成对相关人工智能功能的完善。(pacman,achieve search)
- 2018-05-06 14:49:48下载
- 积分:1
-
!!!doudizhuJ2MENetGame
手机游戏,占用内存较小,运行流畅,代码简单,功能齐全,可以供大家参考(cellphone games,it need )
- 2011-06-18 22:32:04下载
- 积分:1
-
Snake-game(cPP).
这一个是用c++语言编写的贪吃蛇小游戏。(This one is written in c++ language Snake game.)
- 2013-12-22 16:22:00下载
- 积分:1
-
电子钟
说明: 电子时钟游戏,可以实现游戏的界面,开发设计(Electronic clock game it can make game face and design)
- 2020-03-26 11:12:49下载
- 积分:1
-
3.8内置商城和网关源码
自己看吧 内置商城源码 编译可用 商业网关 懂编程的下载可用(I see the built-in Commercial City source code compilation can be available for commercial gateway programming download available)
- 2017-12-06 11:03:06下载
- 积分:1
-
野生动物繁衍模拟—c++
利用c++语言,至少完成一种动物的繁衍模拟,动物种类不限上限。(Using C++ language, at least one animal reproduction simulation can be completed. There is no limit on animal species.)
- 2018-12-16 21:57:32下载
- 积分:1
-
MesaFireEvacuation-master
关于人员疏散开发的程序,其中包括人员疏散中从众,人与人之间,人与墙之间的摩擦力(it is about evacuation programe, Fire Evacutation Research Project)
- 2021-01-27 16:28:40下载
- 积分:1
-
kill
N个人的杀人游戏,数到M的被杀掉,最后剩第几个。(N individuals to kill the game, count to M is killed, and finally left the first of several.)
- 2014-04-24 09:42:03下载
- 积分:1
-
Game
This algorithm is the game by name
- 2012-06-23 23:49:48下载
- 积分:1