Learn The basics Lesson 7 of 9
The king
One square at a time, never into danger, and the one piece you can't do without. With castling.
How the king moves
The king moves one square in any direction: forwards, backwards, sideways or diagonally.
In the middle of the board that's eight squares to choose from. It's the queen's move cut down to a single step.
Try it: move the king
Make four moves. One step at a time is all he has.
The piece the game is about
The king is slow and weak, and he's the most important piece you have, because the whole aim of chess is to trap your opponent's king.
When a king is attacked, so that it could be captured on the next move, it is in check. A player whose king is in check must get out of it at once: by moving the king away, by capturing the piece that's attacking, or by putting something in between.
If there's no way out at all, it's checkmate, and the game is over. The king is never actually taken off the board: the game ends the move before.
Never into danger
Because the king can't be given up, there's a rule no other piece has: a king may never move onto a square where it could be captured. A move that leaves your own king in check isn't a legal move at all.
Here a black rook watches the whole d-file. The white king is next to that file and can't step onto it. Three of his eight squares are gone.
For the same reason the two kings can never stand next to each other.
How the king captures
The king captures the way he moves: by stepping onto an enemy piece on the next square.
But the same rule holds. He can't capture a piece that is protected, because he'd be stepping onto a square where he could be taken. A protected piece is one that another piece of its side could recapture on.
Pawns protect diagonally forwards, which you'll meet in the next lesson. Here the black pawn on e6 protects the one on d5.
Try it: take both pawns
The same two pawns, standing still. Capture them both with the king.
You'll have to take the one doing the guarding first, and walk round the squares the pawns attack. The board won't let the king step into danger. Four moves is the fewest.
Castling
Once in a game, each player may make a special move with the king and a rook together, called castling. It's the only move in chess that moves two pieces.
The king goes two squares towards a rook, and that rook jumps over him to the square on his other side.
It does two useful things in one move: it tucks the king away near a corner, behind his pawns, and it brings a rook out towards the middle.
Castling towards the h-file is kingside castling, or castling short.
Castling the other way
Castling towards the a-file is queenside castling, or castling long. The king still moves two squares, from e1 to c1, and the rook comes from a1 to d1.
You may castle only if all of these are true:
- The king has not moved yet in the game, and neither has that rook.
- Every square between the king and the rook is empty.
- The king is not in check.
- The king doesn't pass over or land on a square that's attacked.
If a rule stops you now, you may still castle later, when it no longer does. But once the king has moved, even if he moves back, castling is gone for good.
Try it: castle
To castle, move the king two squares. The rook follows by itself. Tap the king and you'll see the castling squares among his moves.
Three positions: castle each way, and then one where only one way is allowed.
Worth knowing
- The king has no value in pawns: he's worth the whole game.
- In most games it's wise to castle early, before the middle of the board opens up around the king.
- Late in the game, when most pieces have been exchanged and there's little left to attack him, the king comes out and becomes a strong piece himself.
- There's no rule that you have to say "check" out loud when you attack a king, though many people do in friendly games.