public static void PrintCapturedPieces(ChessGame game) { Console.WriteLine("Captured pieces:"); Console.Write("White: "); PrintHash(game.CapturedPiece(Color.White)); Console.WriteLine(); Console.Write("Black: "); ConsoleColor aux = Console.ForegroundColor; Console.ForegroundColor = ConsoleColor.Yellow; PrintHash(game.CapturedPiece(Color.Black)); Console.ForegroundColor = aux; Console.WriteLine(); }