Skip to main content

king_attacks

Function king_attacks 

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

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