found bug
This commit is contained in:
parent
8bc4af7d8a
commit
dd68bbf6c7
|
@ -38,7 +38,7 @@ public class MaurizioAI implements Player {
|
|||
int[][] boardNew = makeMove(board, i, id);
|
||||
for(int j=0;j<Game.GAME_COLUMNS;j++){
|
||||
if(boardNew[j][0] == 0 && checkWin(boardNew, j, enemyID)){
|
||||
return j;
|
||||
return j; // NOPE !!!
|
||||
}
|
||||
}
|
||||
return i;
|
||||
|
|
Loading…
Reference in a new issue