Chess - Castling
Castling in not allowed:
on a particular side if the rook on that side has already moved.
if the king has already moved.
if any squares the king must travel over are attacked.
if any squares between the king and rook are occupied by other pieces.