pub fn find_magic_for_shift(
shift: usize,
mobility: Bitboard,
max_tries: usize,
) -> (u64, bool)
Expand description
tries to find magic for shift in certain number of tries for a mobility, returns a tuple of the found magic and a bool indicating success