Skip to main content

between_bb

Function between_bb 

Source
pub fn between_bb(s1: Square, s2: Square) -> Bitboard
Expand description

Return the bitboard of squares strictly between s1 and s2.

Returns Bitboard::EMPTY if the squares are not on the same rank, file, or diagonal.