private static void PrintCapturedPieces(ChessMatch match) { Console.WriteLine("Captured pieces:"); Console.Write("White: "); var defaultColor = Console.ForegroundColor; PrintSetPieces(match.GetCapturedPieces(Color.White), defaultColor); Console.Write("Black: "); PrintSetPieces(match.GetCapturedPieces(Color.Black), ConsoleColor.DarkYellow); Console.ResetColor(); }