Skip to content
Log in
By MindLounge team · Updated

Chess Basics: How the Game Works

Chess is a game for two players on a board of 64 squares. Each side starts with sixteen pieces, and the goal is not to capture as many of them as possible but to trap the opponent's king so that it cannot escape — that is checkmate. This guide covers everything you need to play your first complete game: the board, how each piece moves, the three special moves, how a game ends, and a few principles that make the opening much less confusing.

The board and the starting position

The board is placed so that each player has a light square in the bottom-right corner. Columns are called files and are labelled a to h; rows are called ranks and are numbered 1 to 8 from White's side. Every square has a name made of both, such as e4 or g7. This notation is how games, puzzles and guides like this one describe moves.

The rooks go in the corners, then the knights, then the bishops. The queen starts on the square of her own colour — the white queen on the light square d1, the black queen on the dark square d8 — and the king stands next to her. The pawns fill the second rank in front of them. White always moves first.

The starting position. White moves first; queens start on their own colour (d1 and d8).♜︎♞︎♝︎♛︎♚︎♝︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♚︎♝︎♞︎♜︎a8b7c6d5e4f3g2h1
The starting position. White moves first; queens start on their own colour (d1 and d8).

How the pieces move

Every piece except the knight moves in straight lines and cannot jump over other pieces. A piece captures by moving onto a square occupied by an enemy piece, which is removed from the board. You can never capture your own pieces. In the diagrams below, the highlighted squares show everywhere the piece on d4 could move.

Rook: any number of squares along a file or a rank.♚︎♜︎♚︎a8b7c6d5e4f3g2h1
Rook: any number of squares along a file or a rank.
Bishop: any number of squares diagonally. It always stays on its starting colour.♚︎♝︎♚︎a8b7c6d5e4f3g2h1
Bishop: any number of squares diagonally. It always stays on its starting colour.
Queen: combines rook and bishop — the strongest piece.♚︎♛︎♚︎a8b7c6d5e4f3g2h1
Queen: combines rook and bishop — the strongest piece.
Knight: an L-shape, two squares one way and one square to the side. It is the only piece that jumps.♚︎♞︎♚︎a8b7c6d5e4f3g2h1
Knight: an L-shape, two squares one way and one square to the side. It is the only piece that jumps.

The king moves one square in any direction. It is the one piece that can never be captured and never be left under attack, so it can never move to a square that an enemy piece controls. Kings therefore can't stand next to each other.

Pawns are the only pieces that move differently from how they capture. A pawn moves straight forward one square, or two squares on its very first move, but it captures one square diagonally forward. A pawn can never move backwards, and a pawn blocked by any piece directly in front of it can't move at all.

The e2 pawn can move to e3 or e4, or capture the knight on d3 diagonally.♚︎♞︎♟︎♚︎a8b7c6d5e4f3g2h1
The e2 pawn can move to e3 or e4, or capture the knight on d3 diagonally.
King: one square in any direction.♚︎♚︎a8b7c6d5e4f3g2h1
King: one square in any direction.

Check, checkmate and stalemate

When a king is attacked, it is in check. The player in check must get out of it immediately, in one of three ways: move the king to a safe square, capture the attacking piece, or put a piece in between (this is called blocking or interposing). Any move that leaves your own king in check is illegal.

The bishop on b5 gives check. Black must move the king — Kd8, Kf8, Ke7 or Kf7. Kd7 is illegal because d7 is still on the bishop's diagonal.♚︎♝︎♚︎a8b7c6d5e4f3g2h1
The bishop on b5 gives check. Black must move the king — Kd8, Kf8, Ke7 or Kf7. Kd7 is illegal because d7 is still on the bishop's diagonal.

Checkmate is a check with no way out. The game ends immediately and the side that delivered it wins. One of the most common checkmates in beginner games is the back-rank mate: the king is hemmed in by its own pawns, and a rook or queen arrives on the back rank.

Ra8 is checkmate. The black king's own pawns take away its escape squares. A single pawn move earlier (…h6, for example) would have given the king an exit.♚︎♟︎♟︎♟︎♜︎♚︎a8b7c6d5e4f3g2h1
Ra8 is checkmate. The black king's own pawns take away its escape squares. A single pawn move earlier (…h6, for example) would have given the king an exit.

Stalemate is the opposite situation: the player to move is not in check but has no legal move. The game ends in a draw. This matters most when you are winning — with a big material advantage, check that your opponent still has a move before you play.

Black to move is not in check, but every square around the king is covered. It's stalemate — a draw, even though White is a queen up.♚︎♛︎♚︎a8b7c6d5e4f3g2h1
Black to move is not in check, but every square around the king is covered. It's stalemate — a draw, even though White is a queen up.

Games can also be drawn by agreement, by repeating the same position three times, when fifty moves pass with no capture or pawn move, or when neither side has enough material left to checkmate (for example, king against king).

The three special moves

Castling

Once per game, each player may move the king two squares towards a rook and place that rook on the square the king just crossed. Castling tucks the king away from the centre and brings a rook into play in a single move. It is only allowed if the king and that rook have not moved yet, there are no pieces between them, and the king is not in check, does not pass through an attacked square, and does not land on one.

Castling kingside: the king goes from e1 to g1, and the rook jumps from h1 to f1.♜︎♚︎♜︎♟︎♟︎♟︎♛︎♟︎♟︎♟︎♞︎♟︎♝︎♞︎♝︎♟︎♝︎♟︎♞︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♝︎♛︎♚︎♜︎a8b7c6d5e4f3g2h1
Castling kingside: the king goes from e1 to g1, and the rook jumps from h1 to f1.

En passant

If a pawn moves two squares from its starting position and lands right next to an enemy pawn, that enemy pawn may capture it as if it had moved only one square. This is allowed only on the very next move.

Black just played …d7-d5, passing the e5 pawn. White can capture en passant: exd6, removing the pawn from d5.♜︎♞︎♝︎♛︎♚︎♝︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♚︎♝︎♞︎♜︎a8b7c6d5e4f3g2h1
Black just played …d7-d5, passing the e5 pawn. White can capture en passant: exd6, removing the pawn from d5.

Promotion

A pawn that reaches the last rank is immediately replaced by a queen, rook, bishop or knight of the same colour — almost always a queen. There is no limit: you can have two or more queens on the board.

Opening principles for your first games

You don't need to memorise openings to play a sensible first ten moves. Four principles are enough:

  1. Fight for the centre. Pawns and pieces on or aimed at e4, d4, e5 and d5 control the most space.
  2. Develop your pieces. Bring knights and bishops off the back rank before moving the same piece twice.
  3. Castle early. A king left in the middle is exposed as soon as files open.
  4. Don't bring the queen out too early. She can be chased around by smaller pieces, costing you time.
The Italian Game after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5. Both sides followed every principle: centre pawns, knights and bishops developed, and White is ready to castle.♜︎♝︎♛︎♚︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♝︎♟︎♝︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♚︎♜︎a8b7c6d5e4f3g2h1
The Italian Game after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5. Both sides followed every principle: centre pawns, knights and bishops developed, and White is ready to castle.

Watch out for the four-move checkmate

The f7 square (f2 for White) is defended only by the king at the start of the game. That makes it a favourite target. If Black ignores the threat in the position below, White mates immediately.

After 1.e4 e5 2.Bc4 Nc6 3.Qh5 Nf6?? White plays Qxf7#. The queen is protected by the bishop on c4, so the king can't take it. 3…g6 or 3…Qe7 would have defended.♜︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♞︎♟︎♛︎♝︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♚︎♞︎♜︎a8b7c6d5e4f3g2h1
After 1.e4 e5 2.Bc4 Nc6 3.Qh5 Nf6?? White plays Qxf7#. The queen is protected by the bishop on c4, so the king can't take it. 3…g6 or 3…Qe7 would have defended.

What to do next

  • Play a few games against the bot on the easiest level and focus only on making legal moves and spotting checks.
  • Read Chess Tactics for Beginners — most games between new players are decided by forks and pins.
  • Learn the basic endgames in Essential Chess Endgames, so you know how to convert a winning position.

Continue the discussion in the MindLounge forum.

Go to the forum