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