Module binbo_movegen

Data Types

bb_game()

bb_game() = binbo_position:bb_game()

bin_move()

bin_move() = {sq_notation(), sq_notation()} | {sq_notation(), sq_notation(), promo_to()}

color()

color() = binbo_board:color()

int_move()

int_move() = {sq_idx(), sq_idx()} | {sq_idx(), sq_idx(), promo_to()}

move_type()

move_type() = int | bin | str | bb | count | bitint

promo_to()

promo_to() = q | r | b | n

sq_idx()

sq_idx() = binbo_board:square_index()

sq_notation()

sq_notation() = binbo_board:square_notation()

str_move()

str_move() = {string(), string()} | {string(), string(), promo_to()}

Function Index

all_valid_moves/2
all_valid_moves/3
has_valid_moves/2

Function Details

all_valid_moves/2

all_valid_moves(Game::bb_game(), MoveType::int) -> [int_move()]

all_valid_moves/3

all_valid_moves(Color::color(), Game::bb_game(), MoveType::int) -> [int_move()]

has_valid_moves/2

has_valid_moves(Color::color(), Game::bb_game()) -> boolean()


Generated by EDoc