Свойство | Тип | Описание | |
---|---|---|---|
Board | ChessDotNet.Piece[][] | ||
checkmatedCacheBlack | Cache |
||
checkmatedCacheWhite | Cache |
||
fiftyMoves | bool | ||
inCheckCacheBlack | Cache |
||
inCheckCacheWhite | Cache |
||
stalematedCacheBlack | Cache |
||
stalematedCacheWhite | Cache |
Метод | Описание | |
---|---|---|
ApplyMove ( |
||
ChessGame ( ) : System | ||
ChessGame ( |
||
ChessGame ( IEnumerable |
||
ChessGame ( string fen ) : System | ||
ClaimDraw ( string reason ) : void | ||
GetBoard ( ) : ChessDotNet.Piece[][] | ||
GetFen ( ) : string | ||
GetPieceAt ( File file, int rank ) : |
||
GetPieceAt ( |
||
GetValidMoves ( Player player ) : ReadOnlyCollection |
||
GetValidMoves ( |
||
HasAnyValidMoves ( Player player ) : bool | ||
HasAnyValidMoves ( |
||
IsCheckmated ( Player player ) : bool | ||
IsDraw ( ) : bool | ||
IsInCheck ( Player player ) : bool | ||
IsStalemated ( Player player ) : bool | ||
IsValidMove ( |
||
IsWinner ( Player player ) : bool | ||
MapPgnCharToPiece ( char c, Player owner ) : |
||
Resign ( Player player ) : void | ||
WouldBeInCheckAfter ( |
Метод | Описание | |
---|---|---|
ApplyCastle ( |
||
CloneBoard ( |
||
FenStringToGameCreationData ( string fen ) : |
||
GetValidMoves ( Player player, bool returnIfAny ) : ReadOnlyCollection |
||
GetValidMoves ( |
||
IsValidMove ( |
||
IsValidMove ( |
||
SetPieceAt ( File file, int rank, |
||
UseGameCreationData ( |
Метод | Описание | |
---|---|---|
ChessGame ( |
protected ApplyCastle ( |
||
move | ||
Результат | CastlingType |
public ApplyMove ( |
||
move | ||
alreadyValidated | bool | |
Результат | MoveType |
public ChessGame ( |
||
data | ||
Результат | System |
public ChessGame ( IEnumerable |
||
moves | IEnumerable |
|
movesAreValidated | bool | |
Результат | System |
protected static CloneBoard ( |
||
originalBoard | ||
Результат | ChessDotNet.Piece[][] |
protected FenStringToGameCreationData ( string fen ) : |
||
fen | string | |
Результат |
public GetBoard ( ) : ChessDotNet.Piece[][] | ||
Результат | ChessDotNet.Piece[][] |
public GetPieceAt ( File file, int rank ) : |
||
file | File | |
rank | int | |
Результат |
public GetPieceAt ( |
||
position | ||
Результат |
public GetValidMoves ( Player player ) : ReadOnlyCollection |
||
player | Player | |
Результат | ReadOnlyCollection |
protected GetValidMoves ( Player player, bool returnIfAny ) : ReadOnlyCollection |
||
player | Player | |
returnIfAny | bool | |
Результат | ReadOnlyCollection |
public GetValidMoves ( |
||
from | ||
Результат | ReadOnlyCollection |
protected GetValidMoves ( |
||
from | ||
returnIfAny | bool | |
Результат | ReadOnlyCollection |
public HasAnyValidMoves ( Player player ) : bool | ||
player | Player | |
Результат | bool |
public HasAnyValidMoves ( |
||
from | ||
Результат | bool |
public IsCheckmated ( Player player ) : bool | ||
player | Player | |
Результат | bool |
public IsStalemated ( Player player ) : bool | ||
player | Player | |
Результат | bool |
protected IsValidMove ( |
||
move | ||
validateCheck | bool | |
Результат | bool |
protected IsValidMove ( |
||
move | ||
validateCheck | bool | |
careAboutWhoseTurnItIs | bool | |
Результат | bool |
public MapPgnCharToPiece ( char c, Player owner ) : |
||
c | char | |
owner | Player | |
Результат |
protected SetPieceAt ( File file, int rank, |
||
file | File | |
rank | int | |
piece | ||
Результат | void |
protected UseGameCreationData ( |
||
data | ||
Результат | void |
public WouldBeInCheckAfter ( |
||
move | ||
player | Player | |
Результат | bool |