11 history.push(last_move);
21 effect_util::SendOffSquare::find(state.
turn(), state, king_position,
23 this->my_pin = my_pin;
24 this->op_pin = op_pin;
25 this->progress = progress;
26 attack_count_for_turn = DefenseKing8::count(state);
27 counteffect2_cache.fill(-1);
28 pattern_cache.fill(-1);
const PieceMask pin(Player king) const
Square kingSquare() const
void make(const NumEffectState &new_state)
void update(const NumEffectState &new_state, Move last_move)
ProgressN< 16 > Progress16
constexpr Player alt(Player player)
玉の周囲5x3の領域の利きの数と持駒から計算した進行度.
static const Progress16 progress16(int progress)
0-15 の値を返す