Function poirebot::game::pieces::sliding::get_sliding_east_moves [−][src]
pub fn get_sliding_east_moves(
board: Board,
color: Color,
origin: Position
) -> Vec<(Move, u8)>
Generates moves that slide towards the east from the original position. Also returns the worth of the piece being taken, if any.