.
This commit is contained in:
parent
5f98ac5800
commit
a70e0ec9b4
|
@ -88,7 +88,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($depth < 5){
|
if($depth < 10){
|
||||||
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