public static void PrintCapturedPieces(ChessMatch match) { Console.WriteLine("Captured pieces: "); Console.Write("Whites: "); PrintSet(match.GetCapturedPieces(Color.White)); Console.Write("Black: "); ConsoleColor aux = Console.ForegroundColor; Console.ForegroundColor = ConsoleColor.Yellow; PrintSet(match.GetCapturedPieces(Color.Black)); Console.ForegroundColor = aux; }