Skip to main content

pawn_attacks

Function pawn_attacks 

Source
pub fn pawn_attacks(c: Color, sq: Square) -> Bitboard
Expand description

Return the attack bitboard for a pawn of the given color on the given square.