This commit is contained in:
Gnieark 2016-06-13 20:23:56 +02:00
parent c2b4511300
commit afd63bac48

View File

@ -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;
}