Skip to main content

bishop_attacks

Function bishop_attacks 

Source
pub fn bishop_attacks(sq: Square, occupied: Bitboard) -> Bitboard
Expand description

Return the attack set for a bishop on sq given the occupied board.