#include <OthelloAI.h>
Inheritance diagram for COthelloAI:

Public Member Functions | |
| COthelloAI () | |
| COthelloAI. | |
| ~COthelloAI () | |
| ~COthelloAI | |
Protected Member Functions | |
| void | NewGame () |
| NewGame. | |
| void | Play (const CPiece *) |
| Play. | |
| void | PlayMove (const CMove *m) |
| PlayMove. | |
| bool | CheckMove (const CMove *m) |
| CheckMove. | |
| void | InvalidMoveProcessing (const CMove *p) |
| InvalidMoveProcessing. | |
| void | SetPlayerDescription () |
| SetPlayerDescription. | |
| void | SetPlayerPiece (const CPiece *p) |
| SetPlayerPiece. | |
| void | UndoLastMove () |
| UndoLastMove. | |
| vector< COthelloMove > | GenerateMoves () |
| GenerateMoves. | |
| void | ShowBoard () const |
| ShowBoard. | |
| void | OnGameOver () |
| OnGameOver. | |
| COthelloMove | ABDLM (int32 a, int32 b, int8 d) |
| ABDLM. | |
| int32 | ABMax (int32 a, int32 b, int8 d) |
| ABMax. | |
| int32 | ABMin (int32 a, int32 b, int8 d) |
| ABMin. | |
| int32 | Evaluate () |
| Evaluate. | |
Description: AI player for Othello
Limitations: NONE
|
|
COthelloAI. Description: Creates a new instance of COthelloAI
|
|
|
~COthelloAI 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:
|
|
|
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. |
|
|
OnGameOver. Description: Called when the game is over. Prints a message to the screen indicating who the winner is.
|
|
|
Play. Description: Generates the move to play
Implements CAIModule. |
|
|
PlayMove. Description: Applies the move pMove
Implements CAIModule. |
|
|
SetPlayerDescription. Description: Sets the m_PlayerInfo variable with the correct data.
Reimplemented from CAIModule. |
|
|
SetPlayerPiece. Description: This function is called when the player piece of this player is set by the Game Module.
Implements CAIModule. |
|
|
ShowBoard. Description: Displays the Othello board
|
|
|
UndoLastMove. Description: Undoes the last move played
|