my opponent castled after I checked them


Chess players can castle after being put into check. Chess players may castle as long as:
- it must be that king's very first move
- it must be that rook's very first move
- there cannot be any pieces between the king and rook to move
- the king may not be in check or pass through check
https://www.chess.com/terms/castling-chess