#include <BackgammonAI.h>
Inheritance diagram for CBackgammonAI:

Public Member Functions | |
| CBackgammonAI () | |
| CBackgammonAI. | |
| ~CBackgammonAI () | |
| ~CBackgammonAI | |
Protected Member Functions | |
| void | NewGame () |
| NewGame. | |
| void | Play (const CPiece *p) |
| Play. | |
| void | PlayMove (const CMove *m) |
| DoMove. | |
| bool | CheckMove (const CMove *m) |
| CheckMove. | |
| void | InvalidMoveProcessing (const CMove *p) |
| InvalidMoveProcessing. | |
| void | SetPlayerDescription () |
| SetPlayerDescription. | |
| void | SetPlayerPiece (const CPiece *p) |
| SetPlayerPiece. | |
| void | PlaySingleMove (CBGPiece p, int32 start, int32 end) |
| PlaySingleMove. | |
| void | UndoLastMove () |
| UndoLastMove. | |
| vector< CBGMove > | GenerateMoves (uint32 die1, uint32 die2) |
| GenerateMoves. | |
| CBGMove | ABDLM (int32 a, int32 b, int8 d, uint8 die1, uint8 die2, bool lastWasDoubles) |
| ABDLM. | |
| int32 | ABMax (int32 a, int32 b, int8 d, uint8 die1, uint8 die2, bool lastWasDoubles) |
| ABMax. | |
| int32 | ExpectiABMax (int32 a, int32 b, int8 d) |
| ExpectiABMax. | |
| int32 | ABMin (int32 a, int32 b, int8 d, uint8 die1, uint8 die2, bool lastWasDoubles) |
| ABMin. | |
| int32 | ExpectiABMin (int32 a, int32 b, int8 d) |
| ExpectiABMin. | |
| bool | VerifySingleMove (CBGPiece p, int32 start, int32 end, uint32 die) const |
| VerifySingleMove. | |
| int32 | Evaluate () |
| Evaluate. | |
Description: AI player for Backgammon
Limitations: NONE
|
|
CBackgammonAI. Description: Creates a new instance of CBackgammonAI
|
|
|
~CBackgammonAI Description: Destructor
|
|
||||||||||||||||||||||||||||
|
ABDLM. Description: Preforms an Alpha Beta MiniMax search on the current position
|
|
||||||||||||||||||||||||||||
|
ABMax. Description:
|
|
||||||||||||||||||||||||||||
|
ABMin. Description:
|
|
|
CheckMove. Description: Returns true if the MOVE pMove is valid
Implements CAIModule. |
|
|
Evaluate. Description:
|
|
||||||||||||||||
|
ExpectiABMax. Description: Expected Max value
|
|
||||||||||||||||
|
ExpectiABMin. Description: Expected Min value
|
|
||||||||||||
|
GenerateMoves. Description: Returns a character representing the piece.
|
|
|
InvalidMoveProcessing. Description: Called when an invalid move was discovered.
Implements CAIModule. |
|
|
NewGame. Description: Initalizes the game board
Implements CAIModule. |
|
|
Play. Description: Generates the move to play
Implements CAIModule. |
|
|
DoMove. Description: Applies the move pMove
Implements CAIModule. |
|
||||||||||||||||
|
PlaySingleMove. Description: Plays "half" a move.
|
|
|
SetPlayerDescription. Description: Sets the m_PlayerInfo variable with the correct data.
Reimplemented from CAIModule. |
|
|
SetPlayerPiece. Description: Sets the piece for this particular player
Implements CAIModule. |
|
|
UndoLastMove. Description: Undoes the last move played
|
|
||||||||||||||||||||
|
VerifySingleMove. Description: This function is called to verify "half" a move is valid.
|