seirawan STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 830 W: 327 L: 278 D: 225
http://www.variantfishtest.org:6543/tests/view/
5fce987d6e23db221d9e949d
seirawan LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 817 W: 287 L: 241 D: 289
http://www.variantfishtest.org:6543/tests/view/
5fce9faa6e23db221d9e94a0
&& count<ALL_PIECES>(~sideToMove) == extinction_piece_count() + 1)))
return extinction_value() < VALUE_ZERO;
- if (must_capture() || !checking_permitted() || count<CLOBBER_PIECE>() == count<ALL_PIECES>())
+ if (must_capture() || !checking_permitted() || is_gating(m) || count<CLOBBER_PIECE>() == count<ALL_PIECES>())
return VALUE_ZERO >= threshold;
int swap = PieceValue[MG][piece_on(to)] - threshold;
else // KING
// If we "capture" with the king but opponent still has attackers,
// reverse the result.
- return (attackers & ~pieces(stm)) || (is_gating(m) && ~stm == sideToMove && (attacks_from(stm, gating_type(m), from) & to)) ? res ^ 1 : res;
+ return (attackers & ~pieces(stm)) ? res ^ 1 : res;
}
return bool(res);