r4k1r/1p2p1bp/2qp1np1/8/1p4p1/3Q1P2/PP2N2P/1RB2R1K b - - 0 23
In this FEN it recommends moving the king to F8 then some other move and then it recommends castling after the king already moved, which is impossible. SO maybe add a way to keep track of castling as an option or not.
r4k1r/1p2p1bp/2qp1np1/8/1p4p1/3Q1P2/PP2N2P/1RB2R1K b - - 0 23
In this FEN it recommends moving the king to F8 then some other move and then it recommends castling after the king already moved, which is impossible. SO maybe add a way to keep track of castling as an option or not.