fn apply_magic_for_square(
    permutations: &[u64],
    attacks: &[u64],
    magic: u64,
    shift: u8
) -> Vec<u64>
Expand description

Applies a magic number for a set of permutations, attacks and square.