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