This commit is contained in:
Gnieark 2016-06-13 22:14:29 +02:00
parent 9bcbb73036
commit 833247af23

View File

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