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 3ca2606420 - Show all commits

View File

@@ -350,7 +350,7 @@ void gen_black_pawn_captures(const struct Board *board, struct Move *out, int *c
Pieces that are not PAWNs
*/
*/
void gen_knight_moves(const struct Board *board, struct Move *out, int *count, bool captures_only) {
enum Color side = board->side_to_move;
uint64_t own = board->occ[side];