예제 #1
0
 public void playerMakeMove()
 {
     currentMove = CheckersAI.GetMove(GetCurrentBoard(), "Black");
     if (currentMove != null)
     {
         if (CheckMove())
         {
             MakeMove(true);
         }
     }
 }
예제 #2
0
 //ruch komputera
 private void aiMakeMove()
 {
     currentMove = CheckersAI.GetMove(GetCurrentBoard());
     if (currentMove != null)
     {
         if (CheckMove())
         {
             MakeMove();
         }
     }
 }
예제 #3
0
 public void aiMakeMove()
 {
     currentMove = CheckersAI.GetMove(GetCurrentBoard(), "Red");
     if (currentMove != null)
     {
         if (CheckMove())
         {
             MakeMove(true);
         }
     }
 }