Function bughouse::line[][src]

pub fn line(sq1: Square, sq2: Square) -> BitBoard
Notable traits for BitBoard
impl Iterator for BitBoard type Item = Square;
Expand description

Get a line (extending to infinity, which in chess is 8 squares), given two squares. This line does extend past the squares.