Method | Description | |
---|---|---|
AntichessGame ( ) : ChessDotNet.Pieces | ||
AntichessGame ( GameCreationData data ) : ChessDotNet.Pieces | ||
AntichessGame ( IEnumerable |
||
AntichessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces | ||
AntichessGame ( string fen ) : ChessDotNet.Pieces | ||
IsCheckmated ( Player player ) : bool | ||
IsDraw ( ) : bool | ||
IsInCheck ( Player player ) : bool | ||
IsWinner ( Player player ) : bool | ||
WouldBeInCheckAfter ( Move move, Player player ) : bool |
Method | Description | |
---|---|---|
GetValidMoves ( Player player, bool returnIfAny ) : ReadOnlyCollection |
||
GetValidMoves ( Position from, bool returnIfAny ) : ReadOnlyCollection |
||
IsCapture ( Move move, Piece piece ) : bool | ||
IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool |
public AntichessGame ( ) : ChessDotNet.Pieces | ||
return | ChessDotNet.Pieces |
public AntichessGame ( GameCreationData data ) : ChessDotNet.Pieces | ||
data | GameCreationData | |
return | ChessDotNet.Pieces |
public AntichessGame ( IEnumerable |
||
moves | IEnumerable |
|
movesAreValidated | bool | |
return | ChessDotNet.Pieces |
public AntichessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces | ||
board | Piece | |
whoseTurn | Player | |
return | ChessDotNet.Pieces |
public AntichessGame ( string fen ) : ChessDotNet.Pieces | ||
fen | string | |
return | ChessDotNet.Pieces |
protected GetValidMoves ( Player player, bool returnIfAny ) : ReadOnlyCollection |
||
player | Player | |
returnIfAny | bool | |
return | ReadOnlyCollection |
protected GetValidMoves ( Position from, bool returnIfAny ) : ReadOnlyCollection |
||
from | Position | |
returnIfAny | bool | |
return | ReadOnlyCollection |
protected IsCapture ( Move move, Piece piece ) : bool | ||
move | Move | |
piece | Piece | |
return | bool |
protected IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool | ||
move | Move | |
validateCheck | bool | |
careAboutWhoseTurnItIs | bool | |
return | bool |
public WouldBeInCheckAfter ( Move move, Player player ) : bool | ||
move | Move | |
player | Player | |
return | bool |