-
-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
-
DriectX 2D游戏引擎
说明: windows下的一套棋牌游戏的代码,源码设置了多个拓展接口方面各个功能的二次开发(Windows under a set of board and card game code, the source code set up a number of expansion interface aspects of the secondary development of various functions)
- 2019-05-05 11:36:22下载
- 积分:1
-
ttq
VC++开发的跳跳棋益智小游戏,跳跳棋益智游戏(Jumping chess program VC++ developed jumping chess puzzle game)
- 2012-07-25 22:11:54下载
- 积分:1
-
Backgammon
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
- 2013-07-20 17:54:18下载
- 积分:1
-
guojimajiang
网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
- 2013-11-28 13:56:34下载
- 积分:1
-
wuziqiyouxi
五子棋游戏,实现人工智能。单机游戏和多机游戏实现过程。(Backgammon games, achieve artificial intelligence. Single and multi-game machine game implementation process.)
- 2013-12-09 19:04:44下载
- 积分:1
-
SimpleTetrisGame
说明: 俄罗斯方块 一道简易的俄罗斯方块的制作
附源代码(Tetris Tetris together simple source code for the production of by-laws)
- 2008-11-29 20:14:20下载
- 积分:1
-
russiablock
多人联网对战的俄罗斯方块程序。可以再局域网中进行(Multiplayer Battle Tetris networking programs.)
- 2009-10-31 16:16:24下载
- 积分:1
-
penball
说明: C++语言实现弹球游戏,图形界面更加美观,声音丰富(C++ language pinball game, a graphical interface even more beautiful, rich sound)
- 2011-04-02 09:42:00下载
- 积分:1
-
Source
俄罗斯方块源码
直接运行可以看到结果。好东西大家分享嘛 (Tetris source code can be run directly see the result. Good things to share with you why)
- 2009-01-01 10:22:22下载
- 积分:1