In a 5-minute match a player makes an illegal move leaving his king in a check position. This usually gives the victory to the opponent, if he sees it and captures the king.
Otherwise, if the opponent doesn't claim the illegal move within 2 moves,…
There are many positions in chess that are illegal in the sense that they cannot be reached by legal moves.
Is there an algorithm to detect if a position is illegal or not?
I moved my white King to d4, taking black's bishop. This put the king in a checkmate with black's knight on c6. Is this move legal or illegal? Thank you.