Description: // 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
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
斗地主ai\define.h | 982 | 2016-05-04
|
斗地主ai\Robot.cpp | 67353 | 2019-01-02
|
斗地主ai\Robot.h | 5635 | 2016-05-04
|
斗地主ai | 0 | 2019-01-02 |