This commit is contained in:
Gnieark 2016-06-13 21:57:40 +02:00
parent 04eaadb9bd
commit ebde8726c1

View File

@ -91,7 +91,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){
if($depth < 7){ if($depth < 7){
//CO //CO
return 0 - better_col($newBoard,$opponent,$me,$depth + 1); return 42 - better_col($newBoard,$opponent,$me,$depth + 1);
}else{ }else{
return 0; return 0;
} }