.
This commit is contained in:
parent
04eaadb9bd
commit
ebde8726c1
|
@ -91,7 +91,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){
|
|||
|
||||
if($depth < 7){
|
||||
//CO
|
||||
return 0 - better_col($newBoard,$opponent,$me,$depth + 1);
|
||||
return 42 - better_col($newBoard,$opponent,$me,$depth + 1);
|
||||
}else{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user