
How to Play Chess
Learning how to play chess takes an afternoon; enjoying it can last a lifetime. This guide explains the chess rules from the empty board to checkmate, in plain language and in the order you need them.
Play nowThe goal
Each player commands sixteen pieces. You win by checkmating the opponent's king: attacking it so that it cannot escape, be shielded or have the attacker captured. The king is never actually taken; the game ends the moment it is trapped.
Setting up the board
The board has 64 squares in 8 rows (ranks, numbered 1 to 8) and 8 columns (files, lettered a to h). Place it so each player has a light square in the right-hand corner.
White's back rank, from a1 to h1, reads: rook, knight, bishop, queen, king, bishop, knight, rook. The queen stands on her own color, so the white queen goes on d1. Eight pawns fill the second rank. Black mirrors this on ranks 8 and 7, with the black queen on d8, facing the white queen.
How the pieces move
No piece except the knight can pass through another piece. You capture by moving onto a square occupied by an enemy piece, which is removed from the board.
- King: one square in any direction. It may never move into check.
- Queen: any number of squares in a straight line, along ranks, files or diagonals.
- Rook: any number of squares along a rank or file.
- Bishop: any number of squares diagonally, so it always stays on one color.
- Knight: an L shape, two squares one way and one square to the side. It is the only piece that jumps over others.
- Pawn: one square straight forward, or two on its very first move. It captures one square diagonally forward, never straight ahead.
Taking a turn
- White always moves first; then the players alternate, one move each.
- Pick one of your pieces and move it according to its rules.
- If your move attacks the enemy king, that is check. Your opponent must get out of check on the next move.
- You may never make a move that leaves your own king in check.
Special moves
Castling is the one move in which two pieces move at once. The king moves two squares toward a rook, and that rook jumps to the square the king crossed. The chess castling rules are strict: neither the king nor that rook may have moved before, the squares between them must be empty, the king may not be in check, and it may not pass through or land on an attacked square. Castling short (kingside) or long (queenside) are both allowed.
En passant: if a pawn moves two squares and lands beside an enemy pawn, that enemy pawn may capture it as if it had moved only one square. This capture must be made immediately or the right is lost.
Promotion: a pawn that reaches the far rank must become a queen, rook, bishop or knight. Our game opens a small picker for this choice; a queen is usually best.
How the game ends
In our game all of these are detected automatically and shown on the result screen. Over a real board, players can also agree to a draw or resign; the game here has no buttons for that, so just start a new game.
- Checkmate: the king is in check and has no legal way out. The attacking side wins.
- Stalemate: the player to move is not in check but has no legal move. The game is a draw.
- Insufficient material: neither side has enough pieces left to mate, for example king against king. Draw.
- 50-move rule: fifty moves by each side pass with no capture and no pawn move. Draw.
- Threefold repetition: the same position appears three times with the same player to move. Draw.
Basic strategy
Control the center with pawns and pieces, develop your knights and bishops early, and castle to protect your king. Value your pieces roughly as pawn 1, knight 3, bishop 3, rook 5 and queen 9, and avoid trades that leave you behind. Our chess strategy guide goes much deeper.
Common beginner mistakes
- Forgetting that pawns capture diagonally, not straight ahead.
- Trying to castle after the king has already moved once.
- Leaving a piece undefended right after the opponent attacks it.
- Stalemating a lone king instead of checkmating it.
Chess terms
- Rank / file: a row / a column of the board.
- Check: an attack on the king.
- Checkmate: a check that cannot be escaped.
- Development: bringing pieces off the back rank into play.
- Algebraic notation: the standard way to write moves, such as Nf3 or exd5. Our game keeps a move list in this notation.
- Material: the total value of the pieces each side has.
FAQ
- Who moves first in chess?
- White always makes the first move. In our game you play White against the computer.
- Can a pawn move backward?
- No. Pawns only ever move forward, which is why their placement matters so much.
- Can I castle out of check?
- No. You may not castle while in check, through an attacked square, or into check.
- Is there an easy way to learn chess without memorizing rules?
- Play against the Easy level and tap each piece to see its highlighted moves. The game will not allow an illegal move, so you learn by doing.
