diff --git a/connectfour.php b/connectfour.php index 4e29dbb..bf9347c 100644 --- a/connectfour.php +++ b/connectfour.php @@ -89,7 +89,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){ return 0; } - if($depth < 5){ + if($depth < 3){ return 0 - better_col($newBoard,$opponent,$me,$depth + 1); }else{