Skip to main content

rook_attacks

Function rook_attacks 

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

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