.
This commit is contained in:
parent
11cc175b13
commit
4f6c0f8786
|
@ -89,8 +89,8 @@ function score($board,$me,$opponent,$colToPlay,$depth){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($depth < 6){
|
if($depth < 7){
|
||||||
return -better_col($newBoard,$opponent,$me,$depth + 1);
|
return $depth - better_col($newBoard,$opponent,$me,$depth + 1);
|
||||||
}else{
|
}else{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user