le size
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class GomokuAI{
|
||||
@@ -24,7 +23,7 @@ public class GomokuAI{
|
||||
int x=0,y=0;
|
||||
if(difficulty == 0)
|
||||
{
|
||||
int rand = random.nextInt(board.getPlayableCells().lenght());
|
||||
int rand = random.nextInt(board.getPlayableCells().size());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user