Ejemplo n.º 1
0
        public static void printPiecesTaken(ChessMatch match)
        {
            Console.WriteLine("Peças Capturadas: ");
            Console.Write("Brancas: ");
            printPieceCollection(match.getPiecesTakenByColor(Color.White));
            Console.WriteLine();
            Console.Write("Pretas: ");
            ConsoleColor aux = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Yellow;
            printPieceCollection(match.getPiecesTakenByColor(Color.Black));
            Console.ForegroundColor = aux;
            Console.WriteLine();
        }