.
This commit is contained in:
parent
556ccf2c96
commit
055b729773
Binary file not shown.
|
@ -105,12 +105,10 @@ function better_col($board,$me,$opponent,$depth){
|
||||||
if( $sc > $betterScore){
|
if( $sc > $betterScore){
|
||||||
$betterScore = $sc -$depth;
|
$betterScore = $sc -$depth;
|
||||||
$betterCol = $i;
|
$betterCol = $i;
|
||||||
echo $i.":".$sc."|";
|
//echo $i.":".$sc."|";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "\n";
|
|
||||||
|
|
||||||
return $betterCol;
|
return $betterCol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user