Boxwood: learn chess
How to play chess: every rule, on a board you can try
Chess is a game for two players on a board of 64 squares. Each side has sixteen pieces that move in their own ways, and you win by checkmating the other king: attacking it so that it has no escape. This page covers every rule, one at a time, each with a board you can play on.
The board and the aim
Chess is played by two people on a board of 64 squares, eight by eight. One player has the white pieces and the other the black. White moves first, and then the players take turns, one move each. You may not skip a turn.
Each side starts with sixteen pieces: one king, one queen, two rooks, two bishops, two knights and eight pawns. Set the board so that each player has a light square in the right-hand corner. The queens start on their own colour: the white queen on a light square, the black queen on a dark one.
The aim is to checkmate the other king: to attack it so that it cannot escape. The rest of this page takes the rules one at a time, with a board to try each one on.
| Piece | Worth | How it moves |
|---|---|---|
| Pawn | 1 | One square forward (two on its first move); captures one square diagonally forward |
| Knight | 3 | An L shape: two squares one way and one to the side; it jumps over pieces |
| Bishop | 3 | Any distance along a diagonal |
| Rook | 5 | Any distance forwards, backwards or sideways |
| Queen | 9 | Any distance in a straight line or along a diagonal |
| King | The game | One square in any direction |
The rook
The rook moves in straight lines: forwards, backwards or sideways, as far as it likes. The glowing squares are everywhere this rook can go.
That is the rook: straight lines, no jumping. It is worth about five pawns, and it is at its best on open rows and columns.
The bishop
The bishop moves on diagonals, as far as it likes. It cannot jump, and it never leaves the colour of square it starts on.
This bishop lives on the dark squares. The pawn on g6 stands on a light square, so this bishop can never take it, however long it tries. That is why two bishops, one of each colour, work so well together. A bishop is worth about three pawns.
The queen
The queen is the strongest piece. She moves like a rook and like a bishop: straight or diagonal, as far as she likes. She cannot jump.
The queen is worth about nine pawns, almost as much as two rooks. Because she is so valuable, do not bring her out too early: smaller pieces will chase her around.
The knight
The knight moves in an L: two squares one way, then one square to the side. From the middle of the board it has eight squares to choose from.
Every knight move lands on the other colour of square. A knight is worth about three pawns, the same as a bishop, and it loves the middle of the board. On the edge it has fewer squares.
The king
The king moves one square in any direction. He is slow, but he is the piece that matters most: lose him and you lose the game.
The king may never step onto a square an enemy piece attacks. Here the black rook guards the whole second row, so the king cannot go up.
Keep your king safe at the start of a game. Near the end, when few pieces are left, he comes out and becomes a strong piece.
The pawn
The pawn moves straight forward one square at a time, and never backwards. On its very first move it may go two squares.
A pawn cannot capture straight ahead. These two pawns are stuck face to face, and neither can move until something changes. A pawn is the unit everything else is measured in: one point.
Check
A king in check must get out of it at once. There are three ways: move the king, block the attack, or capture the attacker. You will try each one.
Move, block or capture. If none of the three is possible, it is checkmate, and that is the next lesson.
Checkmate
Checkmate means the king is in check and cannot move away, block, or capture the attacker. The game ends at once. You never actually take the king.
Three mates, one idea: give check, and make sure every escape square is covered. The Checkmates course shows how to force these from far away.
Castling
Castling is the one move where two pieces move at once. The king goes two squares towards a rook, and that rook hops over to stand beside him. It gets the king to safety and the rook into the game.
You castled short, on the king's side. Black has just castled long, on the queen's side. You may castle only if the king and that rook have not moved yet, and the squares between them are empty.
In most games both players castle within the first ten moves. A castled king behind a row of pawns is hard to attack.
En passant
En passant is French for "in passing". It is a special pawn capture. Watch the black pawn on d7: it is about to use its two-square first move to run past your pawn.
Your pawn went to an empty square and the pawn beside it was removed. The catch: en passant is only allowed on the very next move. Wait a turn and the chance is gone.
Promotion
When a pawn reaches the far end of the board it must turn into another piece: a queen, rook, bishop or knight. This is called promotion, and it is why even one extra pawn can win a game.
You now have a queen, even if your first one is still on the board. Almost always the queen is the right choice. Choosing something else is called underpromotion, and it is only for rare tricks.
Stalemate and draws
Look at the black king. It is his move. He is not in check, but every square he could step to is attacked, and he has no other piece to move. That is stalemate, and the game is a draw. A queen ahead, and White threw the win away.
A game is also drawn when the same position comes up three times, when fifty moves pass with no capture and no pawn move, when neither side has enough pieces left to give mate (king against king, for example), or when both players agree to it.
That is every rule of chess. You know how the pieces move, check and checkmate, castling, en passant, promotion and the draws. Next: the Checkmates course, or a game against the Beginner level.
What to learn next
You now know every rule. The quickest way to get better from here is to learn how to finish a game. Start with the basic checkmates (two rooks, king and queen, king and rook), then the three opening principles, then play.
- The checkmate lessons in Boxwood: the first five are free, and so are the opening principles and the first endgame lesson.
- Chess openings: the three principles and 21 openings, move by move.
- Chess endgames: eight positions that decide most endings.
- A game against the computer at the Beginner level, with hints that explain.
Questions
How do the chess pieces move?
The rook moves in straight lines and the bishop on diagonals, each as far as it likes. The queen does both. The knight moves in an L and is the only piece that jumps. The king moves one square in any direction. The pawn moves one square forward (two on its first move) and captures one square diagonally forward.
What is the difference between check, checkmate and stalemate?
Check means the king is attacked and must get out of it at once. Checkmate means the king is in check and cannot get out, and the game is over. Stalemate means the player to move is not in check but has no legal move at all, and the game is a draw.
Can you castle out of check?
No. You cannot castle while your king is in check, across a square that is attacked, or onto a square that is attacked. The king and the rook must not have moved, and the squares between them must be empty.
What is en passant?
A special pawn capture. When a pawn moves two squares from its starting square and lands right beside an enemy pawn, that pawn may capture it as if it had moved only one square. It must be done on the very next move or not at all.
Who moves first in chess?
White always moves first, and the players then take turns.
Can a pawn become a second queen?
Yes. A pawn that reaches the far end of the board must be changed into a queen, rook, bishop or knight, whatever is still on the board. You can have two queens or more.
How long does it take to learn chess?
The rules take an hour or two. Each of the twelve short lessons here takes a few minutes. Playing well takes much longer, which is what makes the game worth learning.