Click or drag to resize
Player Methods

The Player type exposes the following members.

Methods
  NameDescription
Public methodcaptureKing
Public methodcapturePiece
Public methodEquals (Inherited from Object.)
Public methodescapeKing
Protected methodFinalize (Inherited from Object.)
Public methodGetAllPieceSquares
Public methodgetColor
Public methodGetHashCode (Inherited from Object.)
Public methodgetMoveList
Returns the moveList of the Player.
Public methodgetMoveTuple
Public methodgetName
Returns the name of the Player.
Public methodgetType
Public methodGetType (Inherited from Object.)
Public methodgetWin
Returns the win status of the Player
Public methodGetWinningMove
Public methodmakeMCTSMove
Use the MCTS algorithm to make a move
Protected methodMemberwiseClone (Inherited from Object.)
Public methodremoveFromMoveList
Removes an entry from the moveList of the Player.
Private methodSelectCaptureSquare
Select a Piece that can capture another Piece.
Private methodSelectKingSquare
Public methodselectPieceSquare
Selects a Square containing a valid Piece for the CPU Player
Public methodsetColor
Public methodsetName
Sets the name of the Player
Public methodsetType
Public methodsetWin
Sets the win status of the Player.
Public methodToString (Overrides ObjectToString.)
Public methodupdateMoveList
Adds a new entry to the moveList of the Player
Top
See Also