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