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