pub fn find_magic_and_shift(
mobility: Bitboard,
max_shift: usize,
min_shift: usize,
max_tries: usize,
) -> (u64, usize, bool)
Expand description
tries to find magic and shift in certain number of tries per shift for a mobility, starting from a maximum shift, going to minimum shift, returns a tuple of the found magic and a bool indicating success