Function poirebot::game::pieces::pawn::get_pawn_right_attacks[][src]

pub fn get_pawn_right_attacks(board: Board, color: Color) -> Vec<(Move, u8)>

Returns a collection of moves that are unobstructed pawn attacks on the right side. Each move is paired with the value of the piece taken.