Beispiel #1
0
 static void DisplayChecker(Chessman[,] checkerTab)
 {
     for (int i = 0; i < 8; i++)
     {
         for (int j = 0; j < 8; j++)
         {
             if (checkerTab[i, j] != null)
             {
                 Console.Write(checkerTab[i, j].GetSymbol());
             }
             else Console.Write(" ");
         }
         Console.WriteLine();
     }
 }
Beispiel #2
0
        public Checker()
        {
            CheckerTab = new Chessman[8, 8];

            ClearChecerTab();
        }