Function inanis::state::movegen::generate_magic_number
source · fn generate_magic_number(
shift: u8,
permutations: &[u64],
attacks: &[u64]
) -> u64
Expand description
Generates a magic number for a set of permutations
and attacks
, using shift
proper for the specified square.