GamePlayerChineseCheckers is a subclass of GamePlayer and is the super-class of all user-implemented 'Chinese Checkers'-players.
GamePlayerChineseCheckers declares one function that must be implemented:
Note: A game of 'Chinese Checkers' will be automatically aborted if the internal system cannot see any progress in the game (marbles just moving back and forth...) - this check is presently implemented as maximum number of moves.
- public ChineseCheckersMove GetMove (ChineseCheckersState state);
This function is called whenever the player is to make a move. The state parameter contain all necessary information about the game, and a legal move is expected to be returned.
Remember: you can make all the changes you want in the state parameter, it's just a copy.