Skip to content
klyogames

What are you adding?

One account for players and developers. Posts and clips go to the community, games to the catalogue after a check.

Game (ZIP)Your own address and stats, plus a share of the ads once we switch them on. Live after the automatic check. Clip of a gameRecord 15–30 s of gameplay with one click in the studio. Community postText, photos or a video up to 30 s: a question, a playtest request, a launch.

Game rules

Castling in chess

Castling is the move in which the king moves two squares towards a rook and the rook jumps over it to stand right next to it. It is the only move in chess in which you move two pieces at once, and the quickest way to tuck the king away and bring a rook into play.

In short

  1. The king moves two squares towards the rook.
  2. The rook jumps over the king and stands next to it.
  3. Neither the king nor that rook may have moved before.
  4. The squares between them must be empty.
  5. You cannot castle out of check or through an attacked square.

Kingside and queenside castling

Kingside castling goes towards the rook nearer the king: the white king moves from e1 to g1 and the rook from h1 to f1. Queenside castling goes towards the farther rook: the king from e1 to c1 and the rook from a1 to d1. Black castles the same way on the eighth rank. In chess notation kingside castling is written O-O and queenside castling O-O-O.

♚︎♜︎♚︎♜︎abcdefgh321
White castles kingside: before it the king stands on e1 and the rook on h1. After castling the king is on g1 and the rook on f1.

When are you allowed to castle? Five conditions

  • The king has not moved yet in this game.
  • The rook you castle with has not moved yet either.
  • All squares between the king and that rook are empty.
  • The king is not in check at the moment of castling.
  • The king does not pass through or land on a square attacked by the opponent. The rook may pass through an attacked square.

When to castle and which side to choose?

Usually in the opening, after developing the knight and bishop on one side. Kingside castling needs only two pieces out of the way and usually leaves the king safer. Queenside castling brings the rook to the centre faster, but the king stands closer to the middle and needs cover. If your opponent is attacking one side, castle to the other.

The most common castling mistakes

  • Moving the king and then trying to castle: after the first king move, castling is gone for the whole game.
  • Castling while in check: first you have to get out of check.
  • Castling too late: a king left in the centre becomes a target before you can tuck it away.

Play Chess for free

You know the rules, now play. Chess runs free in your browser, on a phone and a computer, with nothing to install and no account.

Szachy: gra w przeglądarce od twórcy Klyo

Read next