atom_color() = white | black
atom_piece_type() = pawn | knight | bishop | rook | queen | king
castling_rook_squares() = {7, 5} | {63, 61} | {0, 3} | {56, 59}
color() = 0 | 16
distance() = 0..7
empty_square() = 0
file() = 0..7
piece() = 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 20 | 21 | 22
piece_type() = 1 | 2 | 3 | 4 | 5 | 6
rank() = 0..7
rank_number() = 1..8
-type rank_char() :: $1 | $2 | $3 | $4 | $5 | $6 | $7 | $8.
side_castling() = 1 | 2 | 4 | 8
square_index() = 0..63
square_notation() = <<_:16>>
a1 .. h8
unicode_char() = 9817 | 9816 | 9815 | 9814 | 9813 | 9812 | 9823 | 9822 | 9821 | 9820 | 9819 | 9818
board_tuple(Value::term()) -> tuple()
castling_list() -> [binbo_position:castling()]
castling_rook_squares(CastlingFlag::side_castling()) -> castling_rook_squares()
enemy_color(Color::0) -> 16
enemy_color(Color::16) -> 0
file_list() -> [file()]
file_of_index(Idx::square_index()) -> file()
index_list() -> [square_index()]
index_to_notation(Idx::square_index()) -> square_notation()
int_move(FromIdx::square_index(), ToIdx::square_index()) -> non_neg_integer()
int_move(FromIdx::square_index(), ToIdx::square_index(), PromoType::2 | 3 | 4 | 5) -> non_neg_integer()
int_move_from(Move::non_neg_integer()) -> square_index()
int_move_to(Move::non_neg_integer()) -> square_index()
is_valid_square_notation(Sq::binary()) -> boolean()
notation_to_index(X1::square_notation()) -> square_index()
notation_to_index(F::97..104, R::49..56) -> square_index()
pieces() -> [piece()]
rank_number(Idx::square_index()) -> rank_number()
rank_of_index(Idx::square_index()) -> rank()
side_list() -> [color()]
sq_distance(Idx1::square_index(), Idx2::square_index()) -> distance()
Generated by EDoc