openseat.games

Chess rules — how to play chess

Two armies of sixteen pieces, sixty-four squares, and one aim: trap the enemy king so that it has no way out. Nothing is hidden and nothing is left to chance.

This page covers every rule, including the three unusual moves — castling, en passant and promotion — that catch out people who learned from a friend.

The board and the starting position

The board is eight squares by eight, set so that each player has a light square in the corner on their right. The columns are files, lettered a to h from white's left; the rows are ranks, numbered 1 to 8 from white's side. So every square has a name, from a1 in white's left-hand corner to h8.

Each side has sixteen pieces:

The starting position, white at the bottom.

White moves first, and then the players take turns. You choose your colour before the game — white, black, or a coin toss — both against the computer and when you open a table for a friend. At a friend's table the colours swap on every rematch.

How the pieces move

Every piece except the knight moves in straight lines and cannot jump over anything in its way. A piece captures by moving onto a square held by an enemy piece, which comes off the board.

The king: one square in any direction.
The rook: along its rank and its file.
The bishop: along the diagonals, always on one colour.
The queen: a rook and a bishop in one.
The knight: an L-shape, jumping over the pawns round it. It can take the black bishop.
Pawns: from its first square a pawn can go one square or two. The other is blocked, but it can take the knight diagonally.
PieceHow it movesRough value
Pawnone square forward (two from the start), captures diagonally forward1
Knightan L-shape, jumping over pieces3
Bishopany distance diagonally3
Rookany distance along a rank or file5
Queenany distance in any straight line9
Kingone square in any direction—

The values are a guide to whether a trade is good, not a rule. The king has none, because losing it loses the game.

Check and checkmate

A king that is attacked is in check, and must be got out of it on the very next move: by moving the king to a safe square, by capturing the piece giving check, or by putting a piece in the way. (Blocking does not work against a knight, or against a piece right next to the king.)

You may never make a move that leaves your own king in check. The table will not accept one.

When a king is in check and there is no way out, that is checkmate, and the side that gave it wins. The king is never actually captured.

Checkmate: the rook checks along the back rank, and the king's own pawns leave it nowhere to go.

Castling

Once per game, each side may move the king and a rook together. The king moves two squares towards a rook, and the rook jumps over it to the square right beside it.

Short castling: the king to g1, the rook to f1.
Long castling: the king to c1, the rook to d1.

You may castle only when:

Only the king's path matters. In long castling the rook crosses b1 (or b8), which may be attacked as long as it is empty.

En passant

A pawn that moves two squares from its start can slip past an enemy pawn that would have captured it had it moved one. So the enemy pawn gets one chance to capture it en passant ("in passing"): it moves diagonally onto the square that was skipped, and the pawn that moved is removed.

For example, a white pawn stands on e5 and black plays d7–d5. White may capture on d6, and the black pawn on d5 comes off. The capture must be made on the very next move, or the chance is gone for good.

Black has just played d7–d5. White takes en passant: the pawn goes to d6 and the black pawn on d5 comes off.

Promotion

A pawn that reaches the far rank is promoted on the same move, into a queen, rook, bishop or knight of its own colour — the player picks. The queen is offered first because she is almost always right, but now and then a knight gives a winning check, or a queen would leave the opponent stalemated. You can have two or three queens at once.

The pawn on e7 steps onto e8 and becomes a queen, a rook, a bishop or a knight.

How the game ends

You win by checkmate, when your opponent resigns, or when their time bank runs out. Either player may resign at any time; it takes two presses, so a stray click doesn't end a game.

The game is a draw in four cases:

Stalemate: black to move is not in check, but every square round the king is attacked. It is a draw.

Draws are declared automatically by the table the moment they happen. Nobody has to claim them.

At a table with a friend there is one more: a draw by agreement. Either player may offer one, and the other accepts or declines it — playing a move instead of answering declines it too. You can offer once per move.

Time control

Every game here is played with a clock, and each player has two kinds of time: a time bank for the whole game, and a per-move timer that starts afresh on every move.

On your turn the per-move timer runs first, and while it runs your bank is untouched. When it runs out, time starts coming out of the bank. Unused per-move time is not saved up: move in two seconds with ten on the timer, and your next move still gets exactly ten.

If your bank reaches zero, you lose on time — unless your opponent has only their king left. Then it is a draw, because a lone king can never checkmate.

There are four presets, written as bank + per-move:

PresetBank + per move
Classical30 min + 30 s
Rapid10 min + 10 s (the default)
Blitz3 min + 5 s
Bullet1 min + 2 s

You choose before the game, in the panel beside the board: against the computer before your first move, and at a friend's table while you wait for them — right up to the start. Play again keeps the clock and the score; after a game, whoever opened the table can press Change settings to change the clock or their colour first, and the score is kept then too.

Against the computer, your clock stops if you switch to another tab and restarts when you come back. At a friend's table, your friend presses Ready when they are set, and whoever opened the table presses Start; the clocks start then, and keep running even if a connection drops. If your opponent stays away for more than a minute, you can claim the win.

Reading chess notation

The move list beside the board records the game in algebraic notation, the standard way chess is written down.

Ready? Play chess against the computer, or read how to win at chess first.

Play a game