[][src]Crate cetkaik_yhuap_move_candidates

Re-exports

pub use pure_move::PureMove;

Modules

absolute

Defines things in the absolute term: "which piece lies in the square LIA?"

pure_move

Structs

Config
MovablePositions
PureGameState

Enums

Color

Denotes the color of a piece

Perspective
Profession

Denotes the profession of a piece

Functions

calculate_movable_positions_for_either_side

Returns the list of all possible locations that a piece can move to / step on.

from_hand_candidates

Spits out all the possible opponent (downward)'s move that is played from the hop1zuo1 onto the board.

not_from_hand_candidates_

Spits out all the possible opponent (downward)'s move that is played by moving a piece on the board, not from the hop1zuo1.

to_absolute_board
to_absolute_coord

Converts relative::Coord into absolute::Coord

to_absolute_field
to_absolute_piece
to_absolute_side
to_relative_board
to_relative_coord
to_relative_field
to_relative_piece
to_relative_side