Open pronode opened 4 months ago
Hi, this does not comes under FEN notation validation. Depends on the rule of the chess game this may vary. FEN is only to state the position of the chess pieces on the board.
If one is working with "standard Chess rules", this has to be validated there checking next move is allowed or not with the rules.
for reference, we are validating only 6 rules specified here. https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation#cite_note-pgn_spec-1
... which is wrong - black side is to move but white king is in check.