Speed-up for horde chess.
horde STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1761 W: 935 L: 808 D: 18
http://www.variantfishtest.org:6543/tests/view/
5fd3c1ac6e23db221d9e94f7
}
chess960 = isChess960 || v->chess960;
+ tsumeMode = Options["TsumeMode"];
thisThread = th;
set_state(st);
st->accumulator.state[WHITE] = Eval::NNUE::INIT;
return true;
}
// Tsume mode: Assume that side with king wins when not in check
- if (!count<KING>(~sideToMove) && count<KING>(sideToMove) && !checkers() && Options["TsumeMode"])
+ if (tsumeMode && !count<KING>(~sideToMove) && count<KING>(sideToMove) && !checkers())
{
result = mate_in(ply);
return true;
// variant-specific
const Variant* var;
+ bool tsumeMode;
bool chess960;
int pieceCountInHand[COLOR_NB][PIECE_TYPE_NB];
Bitboard promotedPieces;