Add Pseudo Move Generator #12
@@ -53,7 +53,7 @@ struct Move {
|
|||||||
uint8_t piece;
|
uint8_t piece;
|
||||||
uint8_t promo;
|
uint8_t promo;
|
||||||
uint8_t flags;
|
uint8_t flags;
|
||||||
}
|
};
|
||||||
|
|
||||||
struct Board {
|
struct Board {
|
||||||
uint64_t pieces[12]; // Each set of pieces get a bitboard for each player.
|
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_pawn_attack_cache();
|
||||||
void create_king_attack_cache();
|
void create_king_attack_cache();
|
||||||
void print_board();
|
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);
|
||||||
Reference in New Issue
Block a user