In Chess, you cannot castle when your king is in check because castling involves moving the king two squares towards a rook, which would not remove the king from the threat of check. If you try to castle while in check, it is an illegal move and the opponent can force you to make a different move instead. This could put your king in a more vulnerable position and potentially lead to losing the game.
Chat with our AI personalities