.
This commit is contained in:
parent
c2b4511300
commit
afd63bac48
|
@ -79,7 +79,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){
|
|||
//if grid is full
|
||||
$full = true;
|
||||
for($i = 0; $i < 7; $i++){
|
||||
if($newBoard == "+"){
|
||||
if($newBoard[5][$i] == "+"){
|
||||
$full = false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user