pion Chess

Ways of castling

 

The king that makes the castling move has not yet moved in the game.

The rook that makes the castling move has not yet moved in the game.

All squares between the rook and king before the castling move are empty.

The king is not in check.

The king does not move over or to a square that is attacked by an enemy piece during the castling move.