C# Class ChessDotNet.Variants.RacingKings.RacingKingsChessGame

Inheritance: ChessGame
Afficher le fichier Open project: ProgramFOX/Chess.NET

Méthodes publiques

Méthode Description
IsDraw ( ) : bool
IsWinner ( Player player ) : bool
RacingKingsChessGame ( ) : ChessDotNet.Pieces
RacingKingsChessGame ( GameCreationData data ) : ChessDotNet.Pieces
RacingKingsChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
RacingKingsChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
RacingKingsChessGame ( string fen ) : ChessDotNet.Pieces

Méthodes protégées

Méthode Description
FindKing ( Player player ) : Position
IsKingOnBackRank ( Player player ) : bool
IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool

Method Details

FindKing() protected méthode

protected FindKing ( Player player ) : Position
player Player
Résultat Position

IsDraw() public méthode

public IsDraw ( ) : bool
Résultat bool

IsKingOnBackRank() protected méthode

protected IsKingOnBackRank ( Player player ) : bool
player Player
Résultat bool

IsValidMove() protected méthode

protected IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool
move Move
validateCheck bool
careAboutWhoseTurnItIs bool
Résultat bool

IsWinner() public méthode

public IsWinner ( Player player ) : bool
player Player
Résultat bool

RacingKingsChessGame() public méthode

public RacingKingsChessGame ( ) : ChessDotNet.Pieces
Résultat ChessDotNet.Pieces

RacingKingsChessGame() public méthode

public RacingKingsChessGame ( GameCreationData data ) : ChessDotNet.Pieces
data GameCreationData
Résultat ChessDotNet.Pieces

RacingKingsChessGame() public méthode

public RacingKingsChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
moves IEnumerable
movesAreValidated bool
Résultat ChessDotNet.Pieces

RacingKingsChessGame() public méthode

public RacingKingsChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
board Piece
whoseTurn Player
Résultat ChessDotNet.Pieces

RacingKingsChessGame() public méthode

public RacingKingsChessGame ( string fen ) : ChessDotNet.Pieces
fen string
Résultat ChessDotNet.Pieces