Castling rule: The king cannot overshoot a square that has been beaten by an enemy piece when castling.

 

v20240901