-
-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
-
Butterfly+Particle+System
一个模拟蝴蝶飞行的Unity 插件,效果还不错,里面有Demo显示(A Unity plug-in that simulates flying butterflies)
- 2018-04-28 09:59:24下载
- 积分:1
-
tree
森林的布局,游戏当中,场景和人物的关系,在前面,还是后面,遮隐效果(The layout of the forest, games, the relationship between scenes and characters in front or behind, nothing hidden effects)
- 2008-01-17 14:16:16下载
- 积分:1
-
TETRIS
此文档为visual c++平台实现俄罗斯方块的部分参考代码。已经通过调试通过。(This document is visual c++ platform Tetris part reference code. Has passed through debugging.)
- 2013-10-23 21:46:26下载
- 积分:1
-
boardgame
JAVA棋盘程序,以前自己写的,欢迎指正~(JAVA board procedures,please correct me ~)
- 2012-07-14 10:42:38下载
- 积分:1
-
wuziqi
这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)
- 2013-10-16 23:00:24下载
- 积分:1
-
大富翁游戏模拟
大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟大富翁游戏模拟
- 2023-08-05 10:05:03下载
- 积分:1
-
俄罗斯方块
说明: 俄罗斯方块游戏,就像是一样的操作,没什么特别的,初学者使用(Tetris game, like the same operation, nothing special, beginners use)
- 2020-06-18 14:00:01下载
- 积分:1
-
229宿舍贪吃蛇成品
数组为基础的贪吃蛇程序,完成了基本功能,用户可自行下载完善,有调节难度等功能(Array-based Snake Eating Program)
- 2020-06-23 14:20:02下载
- 积分:1
-
game-theory-of-spectrum-allocation
Matlab program based on game theory of spectrum allocation
- 2012-07-20 13:03:14下载
- 积分:1