my @tell_intervals = (5, 20, 60, 120, 240, 480, 960); # after each move
my $uci_assume_full_compliance = 0; # dangerous :-)
my $update_max_interval = 1.0;
-my $second_engine_start_depth = 8;
my @masters = (
'Sesse',
'Sessse',
if (defined($info->{'score_mate' . $mpv})) {
if ($invert) {
- return -(99999 - $info->{'score_mate' . $mpv});
- } else {
return 99999 - $info->{'score_mate' . $mpv};
+ } else {
+ return -(99999 - $info->{'score_mate' . $mpv});
}
} else {
if (exists($info->{'score_cp' . $mpv})) {
} else {
if (exists($info->{'score_cp' . $mpv})) {
my $score = $info->{'score_cp' . $mpv} * 0.01;
+ if ($score == 0) {
+ return " 0.00";
+ }
if ($pos->{'toplay'} eq 'B') {
$score = -$score;
}