C# Class ChessDotNet.Variants.Atomic.AtomicChessGame

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

Méthodes publiques

Méthode Description
ApplyMove ( Move move, bool alreadyValidated ) : MoveType
AtomicChessGame ( ) : System.Collections.Generic
AtomicChessGame ( GameCreationData data ) : System.Collections.Generic
AtomicChessGame ( IEnumerable moves, bool movesAreValidated ) : System.Collections.Generic
AtomicChessGame ( Piece board, Player whoseTurn ) : System.Collections.Generic
AtomicChessGame ( string fen ) : System.Collections.Generic
IsWinner ( Player player ) : bool
KingIsGone ( Player player ) : bool

Méthodes protégées

Méthode Description
IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool
WouldBeSuicide ( Move move, Player player ) : bool
WouldBeSuicideOrInvalidSelfMoveInCheck ( Move move, Player player ) : bool

Method Details

ApplyMove() public méthode

public ApplyMove ( Move move, bool alreadyValidated ) : MoveType
move Move
alreadyValidated bool
Résultat MoveType

AtomicChessGame() public méthode

public AtomicChessGame ( ) : System.Collections.Generic
Résultat System.Collections.Generic

AtomicChessGame() public méthode

public AtomicChessGame ( GameCreationData data ) : System.Collections.Generic
data GameCreationData
Résultat System.Collections.Generic

AtomicChessGame() public méthode

public AtomicChessGame ( IEnumerable moves, bool movesAreValidated ) : System.Collections.Generic
moves IEnumerable
movesAreValidated bool
Résultat System.Collections.Generic

AtomicChessGame() public méthode

public AtomicChessGame ( Piece board, Player whoseTurn ) : System.Collections.Generic
board Piece
whoseTurn Player
Résultat System.Collections.Generic

AtomicChessGame() public méthode

public AtomicChessGame ( string fen ) : System.Collections.Generic
fen string
Résultat System.Collections.Generic

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

KingIsGone() public méthode

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

WouldBeSuicide() protected méthode

protected WouldBeSuicide ( Move move, Player player ) : bool
move Move
player Player
Résultat bool

WouldBeSuicideOrInvalidSelfMoveInCheck() protected méthode

protected WouldBeSuicideOrInvalidSelfMoveInCheck ( Move move, Player player ) : bool
move Move
player Player
Résultat bool