Beispiel #1
0
 public static void PrintCapturedPieces( ChessGame play)
 {
     Console.WriteLine("Captured pieces: ");
     Console.Write("Whites: ");
     PrintConjunt(play.CapturedsPieces(Color.White));
     Console.WriteLine();
     Console.Write("Blacks: ");
     ConsoleColor aux = Console.ForegroundColor;
     Console.ForegroundColor = ConsoleColor.Blue;
     PrintConjunt(play.CapturedsPieces(Color.Black));
     Console.ForegroundColor = aux;
     Console.WriteLine("\n");
 }