Function candidate::line

source ·
pub fn line(sq1: Square, sq2: Square) -> BitBoard 
Expand description

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