pseudo-moves for pieces (not pawns nor special moves)

This commit is contained in:
2021-10-31 12:16:11 +01:00
parent 07e7cbc72a
commit 2f701c4bd5
9 changed files with 286 additions and 7 deletions

View File

@@ -145,6 +145,7 @@ pos_t *pos_init(pos_t *pos)
pos->en_passant = 0;
INIT_LIST_HEAD(&pos->pieces_white);
INIT_LIST_HEAD(&pos->pieces_black);
INIT_LIST_HEAD(&pos->moves);
return pos;
}