Skip to main content

knight_attacks

Function knight_attacks 

Source
pub fn knight_attacks(sq: Square) -> Bitboard
Expand description

Return the attack bitboard for a knight on the given square.