Пример #1
0
        public static void imprCapturedPieces(GameChess game)
        {
            Console.WriteLine("Captured Pieces:");
            Console.Write("White Pieces: ");
            imprCollection(game.colorPieceCaptured(Color.White));
            Console.WriteLine();
            Console.Write("Black Pieces: ");
            ConsoleColor aux = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Yellow;
            imprCollection(game.colorPieceCaptured(Color.Black));
            Console.ForegroundColor = aux;
            Console.WriteLine();
        }