Exemple #1
0
 public static void Move(ChooseLevel Choice, ChessBoard Board)
 {
     if (Choice.Get() == 1)
     {
         EasyMove.Move(Board);
     }
     else if (Choice.Get() == 2)
     {
         HardMove.Move(Board);
     }
     else
     {
         HellMove.Move(Board);
     }
 }
Exemple #2
0
 public static void Move(ChessBoard Board)
 {
     if (Attack.Do(Board))
     {
         return;
     }
     else if (Defend.Do(Board))
     {
         return;
     }
     else
     {
         EasyMove.Move(Board);
         return;
     }
 }