Add Pseudo Move Generator #12

Merged
Josh merged 17 commits from 7-add-pseudo-move-generator into main 2025-08-18 00:28:00 +00:00
Showing only changes of commit 71f38b3f3e - Show all commits

View File

@@ -53,7 +53,7 @@ struct Move {
uint8_t piece;
uint8_t promo;
uint8_t flags;
}
};
struct Board {
uint64_t pieces[12]; // Each set of pieces get a bitboard for each player.
@@ -73,4 +73,4 @@ void create_knight_attack_cache();
void create_pawn_attack_cache();
void create_king_attack_cache();
void print_board();
int gen_pseudo_moves(const struct Board *b, Move *out, bool captures_only);
int gen_pseudo_moves(struct Board *b, struct Move *out, bool captures_only);