26 for (
movenum_t moveid = 1; moveid <= n_moves; ++moveid) {
This is the main include file, needs to be included before any other include.
bScore CalcBestMove(bBoard &b, bMoveList &ml) override
Root search for algorithm.
movenum_t generateMoves(bBasicBoard const &b)
generate moves if not yet generated
void setScoreOfMoveUnsorted(movenum_t const moveid, bScore const score)
Store score of move and update best move.
void adjustMaxSearchedDepth(depth_t const nDepth)
void sendInfoCurrMove(bBoard const &b, depth_t const nCurDepth, bMove const &m, movenum_t const moveid) const
constexpr bScore SCORE_UNDEFINED
int getRandomInt(int const nCeil)
return random in between 0 and nCeil - 1