This commit is contained in:
Gnieark 2016-06-13 21:15:33 +02:00
parent 055b729773
commit 11cc175b13
1 changed files with 1 additions and 1 deletions

View File

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