This commit is contained in:
Gnieark 2016-06-13 16:16:41 +02:00
parent 4c09ef6ab1
commit c88f2d9a1d

View File

@ -101,7 +101,7 @@ function better_col($board,$me,$opponent,$depth){
$betterScore= -1000;
$betterCol= -1;
for( $i = 0; $i < 7; $i++){
if($board[5][$i] == ""){
if($board[5][$i] == " "){
$sc = score($board,$me,$opponent,$i,$depth);
if( score($board,$me,$i) > $betterScore){
$betterScore = $sc;