public static void PrintChessBoard(AbstractChessBoard chessBoard) { Line(); DashLine(); chessBoard.PrintBoard(); DashLine(); Line(); }
public ChessGame(List <Player> players) { if (players.Count < 2) { throw new Exception("Player Count cannot be less than 2"); } this.players = players; currentPlayer = players[0]; chessBoard = new NormalChessBoard(8, 8); this.gameState = GameState.NotStarted; }