-
-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
-
guojimajiang
网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
- 2013-11-28 13:56:34下载
- 积分:1
-
Gomoku
简单五子棋,简单学习算法,很弱的AI,原文是Python语句,现改写位c++(Simple backgammon, simple learning algorithm, very weak AI, the original is a Python statement, is now rewritten bit c++)
- 2017-06-19 22:08:12下载
- 积分:1
-
gnuchess-5.07
一款国际象棋的C++源代码,可以实现人机对战,而且AI的棋力不错(A chess in C++ source code, can achieve man-machine Battle, and a good AI' s Qi Li)
- 2009-12-11 18:08:34下载
- 积分:1
-
wuziqi
五子棋小程序,基于MFC的编程,简单的小程序(Backgammon program, based MFC)
- 2012-12-09 15:56:37下载
- 积分: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
-
vc五子棋网络版本1.0
网络五子棋系统,用vc实现.学习vc对话框编程,网络编程。(331 network system, using vc achieve. Learning vc dialog programming, network programming.)
- 2005-06-16 12:03:04下载
- 积分:1
-
HRBUST_GO_2013_08_12A
一个自主开发的围棋软件,有简单的ai进行对弈,适合新手学习之用(An independent development of chess software, chess has a simple ai be suitable for novice learning purposes)
- 2013-08-18 13:05:40下载
- 积分:1
-
Fivechess
实现简单的五指棋的功能 ,还有背景的音乐MPE3播放器(Implement a simple function of five fingers move, there is background music MPE3 player)
- 2013-03-05 16:33:05下载
- 积分:1
-
C+++Weekend+Crash+Course
C+++Weekend+Crash+Course这是一个中国象棋的原代码(C+++ Weekend+ Crash+ Course This is a Chinese chess original code)
- 2008-07-04 11:19:10下载
- 积分:1