Add move_gen function
All checks were successful
Python tests (make) / test (push) Successful in 10s
All checks were successful
Python tests (make) / test (push) Successful in 10s
This commit is contained in:
@@ -106,4 +106,12 @@ void create_knight_attack_cache();
|
||||
void create_pawn_attack_cache();
|
||||
void create_king_attack_cache();
|
||||
void print_board();
|
||||
int gen_pseudo_moves(struct Board *b, struct Move *out, bool captures_only);
|
||||
void gen_white_pawn_quiet_pushes(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_black_pawn_quiet_pushes(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_white_pawn_push_promotions(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_black_pawn_push_promotions(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_white_pawn_captures(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_black_pawn_captures(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_white_pawn_capture_promotions(const struct Board *board, struct Move *moves, int *count);
|
||||
void gen_black_pawn_capture_promotions(const struct Board *board, struct Move *moves, int *count);
|
||||
int gen_pseudo_moves(const struct Board *board, struct Move *out, bool captures_only);
|
||||
Reference in New Issue
Block a user