Skip to main content

get_pawn_attacks

Function get_pawn_attacks 

Source
pub fn get_pawn_attacks(
    sq: Square,
    color: Color,
    blockers: BitBoard,
) -> BitBoard ⓘ
Expand description

Get the pawn capture move for a particular square, given the pawn’s color and the potential victims