프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 ( |
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 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 |
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 |