no name
所属分类:棋牌游戏
开发工具:C/C++
文件大小:12KB
下载次数:12
上传日期:2019-01-22 21:24:00
上 传 者:
Los瘦身
说明: //使用方法:
//首先创建m_pRobot = new CRobot()对象
//叫分:
//1.初始化手牌到m_pRobot->m_szHandCards数组,手牌按牌面从小到大排序,例:200,300,101,201,102,403,205,311,210,310....,注意数组大小,不要有空值或者0值
//2.调用解析函数m_pRobot->Resolution();
//3.获取叫分m_pRobot->getCallF(),返回0不叫,1一倍 2两倍 3三倍
//出牌:
//1.初始化手牌到m_pRobot->m_szHandCards数组
//2.调用解析函数m_pRobot->Resolution();
//3.设置牌池中的出牌数据:
//a.m_pRobot->m_nLastPutCardIndex最后那个出牌人的座位号[0,1,2]
//b.m_pRobot->m_nLastPutCardNum牌池内牌型有多少张
//c.m_pRobot->m_szLastPutCard牌池内牌型,按牌面从小到大排序
(// Method of use:
// First create m_pRobot = new CRobot () object
/ / points:
Initialize the hand to the m_pRobot-> m_szHandCards array. Hands are sorted from small to large, for example: 200, 300, 101, 201, 102, 403, 205, 311, 210, 310.... Pay attention to the size of the array. Do not have empty or zero values.
//2. Call the analytic function m_pRobot - > Resolution ();
//3. Get m_pRobot - > getCallF (), return 0 no call, double 2 times 3 times
/ / playing cards:
//1. Initialize the hand to the m_pRobot-> m_szHandCards array
//2. Call the analytic function m_pRobot - > Resolution ();
//3. Set the license data in the pool:
//a.m_pRobot-> m_nLastPutCardIndex Last Player's Seat Number [0,1,2]
//b.m_pRobot-> m_nLastPutCardNum pool number of cards
//c.m_pRobot-> m_szLastPutCard pool type, sorted from small to large)
近期下载者:
相关文件:
收藏者: