How to play chess
Full step-by-step rules
- The goal. Put the other king in checkmate: it is under attack and has no safe move. Kings are never actually taken.
- Setting up. Each player has 16 pieces: a king, a queen, two rooks, two bishops, two knights and eight pawns. A light square is always in each player's right-hand corner. The queen starts on the square of her own colour.
- Taking turns. White moves first, then players take turns, one move each. You may not skip a turn.
- Capturing. Move onto a square with an opponent's piece to capture it. Pieces can't jump over others, except the knight.
How each piece moves
- King: one square in any direction. It may never move onto a square that is attacked.
- Queen: any number of squares in a straight line: across, up and down, or diagonally. She is the most powerful piece.
- Rook: any number of squares across or up and down.
- Bishop: any number of squares diagonally, so it always stays on one colour.
- Knight: an “L” shape: two squares one way, then one square to the side. It is the only piece that jumps over others.
- Pawn: one square straight forward (two on its very first move). It captures one square diagonally forward. Pawns never move backwards.
A knight in the middle of the board can reach eight squares. Near the edge it reaches fewer, which is why knights like the centre.
Special moves
- Castling: once per game, move your king two squares toward a rook, and that rook jumps to the square the king crossed. Allowed only if neither piece has moved yet, the squares between them are empty, and the king is not in check, does not cross an attacked square and does not land in check.
- En passant: if a pawn moves two squares and lands right beside your pawn, your pawn may capture it as if it had moved only one square. You must do it straight away or the chance is gone.
- Promotion: a pawn that reaches the far side becomes a queen, rook, bishop or knight (your choice). You can have more than one queen.
Check, checkmate and stalemate
- Check: your king is attacked. You must get out of check at once: move the king, block the attack, or capture the attacker.
- Checkmate: the king is in check and there is no way out. The game is over and the attacking side wins.
- Stalemate: the player to move is not in check but has no legal move. The game is a draw, so be careful when you are far ahead!
Worked example 1: a back-rank checkmate
Black's king on g8 is hemmed in by its own pawns on f7, g7 and h7. White plays Ra8#: the rook slides from a1 all the way to a8. The king is attacked along the top row, it can't step forward because its own pawns are in the way, and nothing can block or capture the rook. That is checkmate. Tip: moving one of those pawns early gives your king an escape square, often called “luft”.
Worked example 2: en passant
Black has just moved a pawn two squares, from d7 to d5, landing right beside White's pawn on e5. On this move only, White may play exd6: the e5 pawn moves diagonally to d6 and the black pawn on d5 is removed, exactly as if it had stopped on d6.
Ways a game can be drawn
- Stalemate (see above).
- Threefold repetition: the same position, with the same player to move and the same castling and en-passant chances, appears three times.
- Fifty-move rule: fifty moves by each player in a row with no capture and no pawn move.
- Not enough pieces: neither side can possibly checkmate, for example king against king, or king and one bishop or knight against a king.
- Agreement: one player offers a draw and the other accepts.
Published rules (version chess/1.0)
- Movement: standard international chess rules, including castling on both sides, en passant and promotion to queen, rook, bishop or knight.
- Automatic draws: threefold repetition and the fifty-move rule end the game straight away. Nobody has to claim them.
- Draw offers: each player may offer a draw up to 3 times per game. Making a move instead of answering counts as saying no.
- Resigning: either player may resign at any time. In online rooms, leaving a game in progress counts as resigning.
- Clocks (local games): choose untimed, 3 + 2, 5 + 0 or 10 + 5. “3 + 2” means 3 minutes each, with 2 seconds added after every move. Your clock starts after the first move. Running out of time loses, unless your opponent has too few pieces to ever checkmate; then it is a draw.
- Online timeouts: in family rooms you have 45 seconds per move while connected and 15 seconds while away. Then a beginner-level move is played for you. After 3 timed-out moves in a row you forfeit.
- Fair play: in online rooms the server checks every move against these rules. Computer hints are only available against the computer and in pass-and-play.
- Practice undo: available in untimed games against the computer or on one device, never in rated online games.
Tips for new players
- Move your centre pawns and bring out knights and bishops early.
- Castle to keep your king safe.
- Before every move, ask: “What is my opponent threatening?”
- Rough piece values: pawn 1, knight 3, bishop 3, rook 5, queen 9. Don't swap a big piece for a small one.
- Stuck? Press 💡 Show me a move for a suggestion.
Keyboard and accessibility
- Tab to the board, then use the arrow keys to move around and Enter or Space to pick up and put down a piece. Esc cancels.
- H shows a hint, U undoes (when practice undo is on), F flips the board.
- Screen readers announce each square, every move in words (for example “knight to f3, check”), and whose turn it is.
- Pieces have distinct shapes, and an optional setting adds letters (K, Q, R, B, N, P) so colour is never the only clue. You can also turn on move confirmation, change the animation speed, or turn animation off.