Add Pseudo Move Generator #12
@@ -350,7 +350,7 @@ void gen_black_pawn_captures(const struct Board *board, struct Move *out, int *c
|
|||||||
Pieces that are not PAWNs
|
Pieces that are not PAWNs
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
void gen_knight_moves(const struct Board *board, struct Move *out, int *count, bool captures_only) {
|
void gen_knight_moves(const struct Board *board, struct Move *out, int *count, bool captures_only) {
|
||||||
enum Color side = board->side_to_move;
|
enum Color side = board->side_to_move;
|
||||||
uint64_t own = board->occ[side];
|
uint64_t own = board->occ[side];
|
||||||
|
|||||||
Reference in New Issue
Block a user