Function poirebot::game::pieces::queen::get_queen_sliding_moves [−][src]
pub fn get_queen_sliding_moves(
board: &Board,
color: Color,
origin: &BitBoard
) -> BitBoardⓘ
Generates a bitboard with the moves that can be performed by the queens in the given bitboard.
Note that multiple queens can be passed in the bitboard; to get the moves for individual queens, iterate over the queens and call this function with the singular bitboard for each queen.