Two players at a chess game on a wooden board, one hand moving a white knight, the other pieces softly out of focus
Sixteen pieces each and one goal: checkmate the other king.

Chess is a strategy game for two players on a board of 64 squares. Each side starts with 16 pieces: a king, a queen, two rooks, two bishops, two knights and eight pawns. White moves first, the players then take turns, and the aim is to checkmate the opponent’s king: attack it so that it has no way to escape. There are no dice and no hidden cards, so every game is decided by the moves alone. This guide explains how to play chess under the official FIDE Laws of Chess: how to set up the board, how each piece moves, check and checkmate, the three special moves (castling, en passant and promotion), how a game can end in a draw, what each piece is worth, and how to read chess notation. You can also play a full game against the computer right here.

Play Chess Free Online

Play a full game of chess against the computer below, free and with no sign-up. Tap one of your pieces to see every square it can legally move to, then tap the square you want. Castling, en passant and promotion all work exactly as described in this guide, and the game ends by itself on checkmate, stalemate or a draw.

Choose to play White (you move first) or Black, and Easy or Hard. Stuck? Hint shows the move the Hard computer would play, and Undo takes your last move back. Every move is written in the move list in standard notation, which is explained further down.

You play
Free, no sign-up. Full FIDE rules: castling, en passant and promotion are all in. Tap a piece to see where it can go, then tap a square. The game ends by itself on checkmate, stalemate, threefold repetition, the fifty-move rule or when neither side can mate. Your game is saved in this browser.

Chess Rules at a Glance

Chess
PlayersTwo: White and Black.
Board8×8, 64 squares in alternating light and dark colours. The columns are called files (a to h) and the rows ranks (1 to 8).
Pieces16 each: 1 king, 1 queen, 2 rooks, 2 bishops, 2 knights and 8 pawns.
First moveWhite always moves first. The players then move one piece per turn.
CapturesMove onto a square occupied by an opponent’s piece to capture it and take it off the board. You can never capture your own pieces.
GoalCheckmate: attack the opponent’s king so that no move can get it out of attack.
Special movesCastling, en passant and pawn promotion.
DrawsStalemate, agreement, a dead position, threefold repetition and the fifty-move rule.

How to Set Up a Chess Board

Chess board set-up diagram: the starting position with White on ranks 1 and 2 and Black on ranks 7 and 8, files a to h and ranks 1 to 8 labelled, a light square in each player’s near-right corner, and each queen on her own colour
The starting position. Light square in the near-right corner; each queen on her own colour.
  1. Turn the board the right way. Each player must have a light square in the near right-hand corner. The saying is “light on the right”.
  2. Rooks in the corners. Put your two rooks on the corner squares of the row nearest you.
  3. Knights next to the rooks, then bishops next to the knights.
  4. Queen on her own colour. The white queen goes on the light square in the middle of the back row (d1); the black queen goes on the dark square opposite her (d8).
  5. King on the last square, next to the queen (e1 for White, e8 for Black). The two kings face each other on the same file.
  6. Pawns in front. Fill the second row with your eight pawns (rank 2 for White, rank 7 for Black).

Done correctly, the two armies mirror each other exactly: queen facing queen and king facing king. The most common set-up mistakes are a board turned the wrong way, which puts a dark square in your right-hand corner, and swapping the king and queen. Every starting square, the common mistakes and a free set-up trainer are on the chess board setup page.

How the Chess Pieces Move

All pieces except the knight move in straight lines and cannot jump over other pieces. A piece captures by moving onto an opponent’s square, the same way it moves, except for the pawn. The last column shows how many squares each piece can reach from d4, near the centre of an empty board, which is a good measure of how mobile it is. For every piece’s name, history and reach from any square, see chess pieces names and moves.

PieceEach side hasHow it movesFrom d4
King (K)1One square in any direction. It can never move onto a square where it would be attacked.8
Queen (Q)1Any number of squares in a straight line: along a rank, a file or a diagonal.27
Rook (R)2Any number of squares along a rank or a file.14
Bishop (B)2Any number of squares along a diagonal, so it stays on its starting colour all game.13
Knight (N)2In an L shape: two squares in one direction, then one square to the side. The only piece that can jump over others.8
Pawn8One square straight forward, or two squares forward on its first move, if the squares are empty. It captures one square diagonally forward. Pawns never move backwards.1 or 2 forward

At the start of the game only the pawns and the knights can move, so White has exactly 20 possible first moves: 16 pawn moves (each of the eight pawns one or two squares) and 4 knight moves.

Check, Checkmate and Stalemate

  • Check means your king is under attack. You must get out of check on your very next move, in one of three ways: move the king to a safe square, capture the attacking piece, or put one of your pieces in between (impossible against a knight). You may never make a move that leaves or puts your own king in check.
  • Checkmate is a check that cannot be escaped in any of those ways. It ends the game at once, and the player who gave checkmate wins. The king is never actually captured.
  • Stalemate is when the player to move is not in check but has no legal move at all. It is a draw, which is why a player who is far ahead must take care not to leave the opponent’s king boxed in without giving check.

The Special Moves: Castling, En Passant and Promotion

How to Castle

Castling is the only move in which you move two pieces at once. The king moves two squares towards one of its rooks, and that rook jumps over to the square the king has just crossed. Castling on the king’s side (the short side) is written O-O; on the queen’s side (the long side) it is O-O-O. After White castles short, the king stands on g1 and the rook on f1; after castling long, the king is on c1 and the rook on d1.

You can castle only if all of these are true:

  • Neither the king nor that rook has moved yet in the game.
  • All the squares between the king and the rook are empty.
  • The king is not in check, does not pass over a square attacked by an enemy piece, and does not land in check. The rook may pass over an attacked square: when castling long, the b1 square can be attacked.

To castle over the board, move the king first, with one hand, then the rook. Under the touch-move rule, touching the rook first can oblige you to make a rook move instead. For every castling rule, the tricky cases and nine positions to practise, see castling in chess.

En Passant

En passant (French for “in passing”) is a special pawn capture. When a pawn moves two squares forward from its starting square and lands right beside one of your pawns, your pawn can capture it as if it had moved only one square: your pawn moves diagonally onto the square the other pawn skipped, and the pawn that moved two squares is removed. You must do it on the very next move or the chance is gone.

Example: White has a pawn on e5 and Black plays …d5, moving the d-pawn two squares. White can now play exd6, landing on d6 and taking the pawn on d5. Only pawns can capture en passant, and only pawns can be captured that way. For more examples, the cases where it is not allowed and nine positions to practise, see en passant explained.

Pawn Promotion

A pawn that reaches the far side of the board (rank 8 for White, rank 1 for Black) must be exchanged, as part of the same move, for a queen, rook, bishop or knight of its own colour. It cannot stay a pawn or become a king. You can choose any of the four even if you still have that piece, so a player can have two or more queens. Players choose a queen almost every time; promoting to anything else is called underpromotion, and a knight is the usual choice when it gives check that a queen could not.

How a Chess Game Ends

ResultHow it happens
WinYou checkmate your opponent, your opponent resigns, or your opponent runs out of time on the clock (unless you have no way left to checkmate, which makes it a draw).
Draw by stalemateThe player to move has no legal move and is not in check.
Draw by agreementBoth players agree to a draw, after each has made at least one move.
Draw by dead positionNeither side can checkmate by any series of legal moves, for example king against king, or king and bishop against king.
Draw by threefold repetitionThe same position, with the same player to move and the same possible moves, appears for the third time. A player claims the draw.
Draw by the fifty-move ruleEach player has made 50 moves in a row with no capture and no pawn move. A player claims the draw.
Automatic drawIn FIDE events, a position that appears five times, or 75 moves each without a capture or pawn move, ends the game as a draw even if nobody claims it.

Over the board, threefold repetition and the fifty-move rule are draws that a player has to claim. In the game on this page they end the game automatically, as they do on most chess sites.

Chess Piece Values

To decide whether a trade is good, players count material using a standard points scale. The king has no value because it can never be captured or traded.

PieceValueExample
Pawn1 pointLosing a pawn for nothing is a small but real disadvantage.
Knight3 pointsEqual to a bishop: trading one for the other is even.
Bishop3 pointsTwo bishops together are usually worth a little more than a bishop and a knight.
Rook5 pointsWinning a rook for a knight or bishop (“winning the exchange”) gains 2 points.
Queen9 pointsWorth almost two rooks. Losing the queen early is usually decisive.

These numbers are only a guide. A piece that is active and well placed is worth more than one stuck behind its own pawns, and a material lead does not count for anything if your king is about to be checkmated.

How to Read Chess Notation

Chess moves are written in algebraic notation. Each square has a name: its file letter (a to h, from White’s left) followed by its rank number (1 to 8, from White’s side). A move is the piece letter followed by the square it moves to.

  • K king, Q queen, R rook, B bishop, N knight. Pawns have no letter, so e4 means a pawn moves to e4.
  • x means a capture: Bxf7 is a bishop capturing on f7, and exd5 a pawn from the e-file capturing on d5.
  • + is check and # is checkmate.
  • O-O is castling short, O-O-O castling long, and e8=Q a pawn promoting to a queen.
  • If two identical pieces can reach the same square, add the file or rank they come from: Rad1 means the rook on the a-file moves to d1.

The shortest possible game shows how it reads. Fool’s mate: 1.f3 e5 2.g4 Qh4#, and White is checkmated after two moves each.

Chess Strategy for Beginners

  • Look at every check, capture and threat before you move, for both sides. Most beginner games are decided by a piece left where it can be taken for free.
  • Fight for the centre. Pawns and pieces on the four central squares (d4, e4, d5, e5) control the most space. Opening with 1.e4 or 1.d4 is the classic start.
  • Develop your knights and bishops early, ideally before moving the same piece twice. Knights usually belong on c3 and f3 (c6 and f6 for Black).
  • Castle early to tuck your king away and bring a rook towards the centre.
  • Do not bring the queen out too soon. It can be chased around by the opponent’s smaller pieces while they develop.
  • Watch out for f7 and f2. These squares are defended only by the king at the start. The four-move scholar’s mate (1.e4 e5 2.Bc4 Nc6 3.Qh5 Nf6?? 4.Qxf7#) attacks exactly there; 3…g6 or 3…Qe7 stops it.
  • Trade pieces when you are ahead in material, and avoid trades when you are behind.
  • Use your king in the endgame. With the queens off the board, the king is a strong piece: bring it to the centre.

In the game above, Hint is a good way to learn: compare the computer’s suggestion with the move you had in mind and work out why it is better.

Chess by the Numbers

The number of possible games explodes after only a few moves. Counting every legal move by either player from the starting position:

Moves playedPossible games
1 (White)20
2 (one each)400
38,902
4 (two each)197,281
54,865,609

These are the standard published counts used to test chess programs, and the game on this page reproduces every one of them exactly.

The rules themselves are old. The modern moves of the queen and the bishop took shape in southern Europe in the late 15th century; the rule that White moves first was settled in the 19th century; and the Staunton design of pieces, introduced in 1849, is the standard set used in tournaments today. The rules of play are now set by FIDE, the International Chess Federation.

More Board Games to Try

For another classic game of pure strategy for two, try checkers or Nine Men’s Morris, both free to play against the computer. Stratego adds hidden pieces, and Chinese checkers is a race for up to six players.

Chess: frequently asked questions

How do you play chess for beginners?

Each player starts with 16 pieces: a king, a queen, two rooks, two bishops, two knights and eight pawns. White moves first and the players take turns, moving one piece each turn. Each type of piece moves in its own way, and you capture by moving onto a square held by an opponent’s piece. The goal is checkmate: attacking the opponent’s king so that it cannot escape.

How do you set up a chess board?

Turn the board so each player has a light square in the near right-hand corner. Put the rooks in the corners, the knights next to them and the bishops next to the knights. The queen goes on the remaining square of her own colour (d1 for White, d8 for Black) and the king beside her. The eight pawns fill the row in front.

Who goes first in chess?

White always moves first. Players usually decide colours by lot for the first game and then alternate.

How do the chess pieces move?

The king moves one square in any direction. The queen moves any distance along ranks, files and diagonals, the rook along ranks and files, and the bishop along diagonals. The knight moves in an L shape and can jump over pieces. A pawn moves one square forward, or two on its first move, and captures one square diagonally forward.

What is en passant in chess?

When a pawn moves two squares forward from its starting square and lands beside an opponent’s pawn, that pawn can capture it as if it had moved only one square, by moving diagonally onto the square it skipped. The capture must be made on the very next move.

How do you castle in chess?

Move the king two squares towards a rook, then put that rook on the square the king crossed. You can castle only if neither the king nor that rook has moved, 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.

What happens when a pawn reaches the other side?

It must be promoted, as part of the same move, to a queen, rook, bishop or knight of the same colour. Most players choose a queen, and you can have more than one queen on the board.

What is the difference between checkmate and stalemate?

In checkmate the king is in check and has no way out, so the player who gave checkmate wins. In stalemate the player to move is not in check but has no legal move at all, and the game is a draw.

What are the chess piece values?

The standard scale is pawn 1 point, knight 3, bishop 3, rook 5 and queen 9. The king has no points value because it can never be captured or traded.

Can I play chess free online on this page?

Yes. The game on this page lets you play a full game against the computer, free and with no sign-up, as White or Black and on Easy or Hard. It follows the official rules, including castling, en passant and promotion, and has Hint and Undo buttons.

Fadi Hayek
Author & Casino Expert

After going through several successful experiences with several industry pioneers, Fadi Hayek has managed to excel in the world of content for online gaming by providing unique content for several projects that allowed him to obtain the necessary experience to launch his career. Last but not least, Fadi also holds several certificates, including but not limited to content marketing and iGaming.

Latest News

Artificial Intelligence in Gambling – How It Is Changing the Future of the Industry

As online casinos adopt machine learning models and artificial intelligence in gambling becomes the next disruption, you don’t want to be left behind. Read on to learn about the impact AI will have on the future of the gambling industry.

Arabian Football Betting Trends – Stay Current on Betting Preferences in the Middle East!

Keep abreast of the latest Arabian football betting trends with the Arabian sports betting insights below. This guide covers the most popular bet types with Arab bettors and the top bookmakers for Arabian and global football competitions.

Al-Nassr vs PSG | Cristiano Ronaldo vs Lionel Messi

The biggest event in world football is scheduled to take place later this month as Al Nassr vs PSG is on the cards.

Yggdrasil Collaborate with Reflex to Release Dublin Up DoubleMax

Yggdrasil and Reflex are set to launch Dublin Up DoubleMax, an Irish-style video, as one of their latest releases. The slot game is designed by incorporating Yggdrasil’s proprietary Game Engagement Mechanic (GEM) DoubleMax coupled with unique features like free spins bonus and fairy magic.