Module poirebot::game::pieces::pawn[][src]

Functions

get_pawn_double_steps

Returns a collection of moves that are unobstructed pawn double-steps.

get_pawn_left_attacks

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

get_pawn_right_attacks

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.

get_pawn_single_steps

Returns a collection of moves that are unobstructed pawn double-steps.