Viking Chess Documentation
Viking Chess Documentation
VikingChess Namespaces
VikingChess.Model
Player Class
Player Methods
captureKing Method
capturePiece Method
escapeKing Method
GetAllPieceSquares Method
getColor Method
getMoveList Method
getMoveTuple Method
getName Method
getType Method
getWin Method
GetWinningMove Method
makeMCTSMove Method
removeFromMoveList Method
SelectCaptureSquare Method
SelectKingSquare Method
selectPieceSquare Method
setColor Method
setName Method
setType Method
setWin Method
ToString Method
updateMoveList Method
Player
SelectKingSquare Method
Select the King
Piece
from the
List
T
of moveable pieces
Namespace:
VikingChess.Model
Assembly:
VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
private
Square
SelectKingSquare
(
List
<
Square
>
squareList
,
Board
board
)
Parameters
squareList
Type:
System.Collections.Generic
List
Square
A
List
T
cntaining all
Square
objects that have
Piece
objects.
board
Type:
VikingChess.Model
Board
The
Board
to use.
Return Value
Type:
Square
The
Square
containing the King
Piece
See Also
Reference
Player Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie