Function inanis::state::movescan::get_piece_mobility
source · pub fn get_piece_mobility<const PIECE: usize>(
board: &Board,
color: usize,
aux: &mut EvalAux
) -> PieceMobility
Expand description
Gets PIECE
mobility (by counting all possible moves at the position specified by board
) with color
and fills aux
with additional data.