C# Class ChessDotNet.Variants.KingOfTheHill.KingOfTheHillChessGame

Inheritance: ChessGame
Show file Open project: ProgramFOX/Chess.NET

Public Methods

Method Description
IsKingInCenter ( Player player ) : bool
IsWinner ( Player player ) : bool
KingOfTheHillChessGame ( ) : ChessDotNet.Pieces
KingOfTheHillChessGame ( GameCreationData data ) : ChessDotNet.Pieces
KingOfTheHillChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
KingOfTheHillChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
KingOfTheHillChessGame ( string fen ) : ChessDotNet.Pieces

Method Details

IsKingInCenter() public method

public IsKingInCenter ( Player player ) : bool
player Player
return bool

IsWinner() public method

public IsWinner ( Player player ) : bool
player Player
return bool

KingOfTheHillChessGame() public method

public KingOfTheHillChessGame ( ) : ChessDotNet.Pieces
return ChessDotNet.Pieces

KingOfTheHillChessGame() public method

public KingOfTheHillChessGame ( GameCreationData data ) : ChessDotNet.Pieces
data GameCreationData
return ChessDotNet.Pieces

KingOfTheHillChessGame() public method

public KingOfTheHillChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
moves IEnumerable
movesAreValidated bool
return ChessDotNet.Pieces

KingOfTheHillChessGame() public method

public KingOfTheHillChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
board Piece
whoseTurn Player
return ChessDotNet.Pieces

KingOfTheHillChessGame() public method

public KingOfTheHillChessGame ( string fen ) : ChessDotNet.Pieces
fen string
return ChessDotNet.Pieces