Quick answer
Chess is a game for two players on an 8 × 8 board. Each side starts with 16 pieces; White moves first. The aim is checkmate: the opposing king is attacked and there is no legal escape. You do not need to capture every piece, and the king is never captured.
- Players
- 2
- Board
- 8 × 8 squares
- Pieces per player
- 16
- First move
- White moves first.
Ruleset and sources: Standard chess · ChessPlayX online play
How do you set up a chessboard?
A chessboard has 64 alternating light and dark squares in eight ranks and eight files. Each player has 16 pieces: one king, one queen, two rooks, two bishops, two knights and eight pawns.
A light square on your right
The near right corner must be light for each player. From file a to h, the back rank is rook – knight – bishop – queen – king – bishop – knight – rook. The queen starts on her own colour: White's on d1, Black's on d8. The kings start on e1 and e8.
Pawns in front
White pawns occupy rank 2, Black pawns rank 7. White is at the bottom of these diagrams. Files are a–h and ranks 1–8: e2 → e4 means moving from e2 to e4. These coordinates help you read the examples without learning full tournament notation first.
Reference: FIDE Laws of Chess (2023) · Article 2
How do the six pieces move and capture?
A legal chess move follows the piece's movement rule and leaves its own king safe. A capture replaces an opposing piece on the destination square. Except for knights, pieces cannot jump over other pieces; pawns have separate capture rules.
Reference: FIDE Laws of Chess (2023) · Article 3
What happens on a turn?
White starts, then alternate
Make one legal move per turn; passing is not allowed. Castling is a special single move involving both king and rook.
Move or capture
Capturing is optional. You cannot land on your own piece. In an ordinary capture, remove the enemy on the destination square and place your piece there; en passant is the exception.
Check your king's safety
A move with the correct movement pattern is still illegal if it leaves your king in check. When checked, choose a move that removes every check; then the opponent takes their turn.
Reference: FIDE Laws of Chess (2023) · Articles 1, 4
What must you do when in check?
A king is in check when attacked. The next move must remove every attack by moving the king, capturing the attacker or blocking the line where possible. A king is never captured, and two kings cannot stand on adjacent squares.
Before the move · c7 → c6FIDE 3.9 Block a check with a pawn
The white bishop on b5 checks the black king on e8 along b5–c6–d7–e8. Black plays c7 → c6 to block that line. Show the position after the move: Black is no longer in check.
A king cannot move onto an attacked square, including one attacked by a pinned enemy piece. The kings cannot be adjacent. The aim is checkmate, not making a move that captures the king.
Reference: FIDE Laws of Chess (2023) · Articles 3.9–3.10, 5.1
Three special rules to learn
Before the move · e1 → g1FIDE 3.8.2 Castling
Castling moves the king two squares toward a rook and places that rook on the square the king crossed. The king and that rook must never have moved, and the squares between them must be empty. The king cannot castle while in check, through check or into check.
The diagram shows kingside castling: e1 → g1 and rook h1 → f1. Queenside: king e1 → c1, rook a1 → d1. Black does the same on rank 8. Returning a king or rook to its starting square does not restore lost castling rights.
Before the move · e5 → d6FIDE 3.7.3.1–2 En passant
A pawn beside an opposing pawn that has just advanced two squares may capture it as if it had advanced only one. The capturing pawn moves diagonally to the passed-over square. This is allowed only on the immediately following move.
Black has just played d7 → d5. White's pawn on e5 may play e5 → d6 and remove the pawn from d5. Choosing another move loses this opportunity; the capture must still keep White's king safe.
Before the move · a7 → a8 = QueenFIDE 3.7.3.3–5 Promotion
A pawn reaching the last rank must become a queen, rook, bishop or knight of its own colour. The new piece takes effect immediately. Promotion is not limited to previously captured pieces and cannot create another king.
The example promotes a7 → a8 to a queen. A rook, bishop or knight is also a valid choice when the move is legal. You cannot leave a pawn on the last rank or wait another turn to promote.
Reference: FIDE Laws of Chess (2023) · Articles 3.7.3, 3.8.2
When do you win, lose or run out of moves?
Before the move · d8 → h4FIDE 5.1.1 Checkmate: the checked side loses
Checkmate means the king is attacked and the player to move has no legal way to escape. The game ends immediately. Here, after f2–f3, e7–e5, g2–g4, Black's queen d8 → h4 gives mate: White cannot move the king to safety, capture the queen or block the check.
FIDE 5.2.1 No legal move, no check: a draw
Stalemate means the player to move has no legal move but their king is not in check; the game is drawn. Here Black is to move: the king on a8 is not checked, but a7, b7 and b8 are all attacked.
Resignation and running out of time
Under FIDE 5.1.2 and 6.9, resignation or running out of time normally loses. Exception: it is a draw if the opponent cannot checkmate by any possible legal sequence. A time loss requires a clock; competition procedures and penalties follow the event regulations.
Reference: FIDE Laws of Chess (2023) · Articles 5, 6.9
When is a game drawn under FIDE rules?
Dead position
The game is immediately drawn if neither side can checkmate by any possible legal sequence. Two bare kings are a simple example. A small number of remaining pieces does not by itself establish a dead position.
Agreement
FIDE 5.2.3 permits an agreed draw after each player has made at least one move. An offer alone does not end the game; it must be accepted. Tournament regulations may restrict draw offers.
Claim: threefold repetition or 50 moves
The player to move may correctly claim a draw after the same position has appeared at least three times, or after 50 moves by each side without a pawn move or capture. An intended move may establish the condition. Repetition requires the same side to move, piece placement and legal move rights, including castling and en passant.
Automatic: fivefold repetition or 75 moves
No claim is needed after the same position appears at least five times, or after 75 moves by each side without a pawn move or capture. Checkmate on the last move takes precedence. The 50- and 75-move counts mean moves by each player, not both players' turns combined.
Stalemate, explained above, is also a draw. ChessPlayX recognises insufficient material and some locked-pawn dead positions; automatic detection does not cover every complex dead position. FIDE remains the reference: continued play on a digital board is not proof that the official position is still live.
Reference: FIDE Laws of Chess (2023) · Articles 5.2, 9.2–9.6
Common beginner mistakes
Mistake: Moving pawns backwards or capturing straight ahead.
Instead: A pawn moves into an empty square ahead; its initial two-square move requires both squares to be empty. It captures an enemy one square diagonally forward, except for en passant below. Pawns never move backwards. White advances towards rank 8, Black towards rank 1.
Mistake: Putting kings next to each other or waiting to capture the king.
Instead: A king cannot move onto an attacked square, including one attacked by a pinned enemy piece. The kings cannot be adjacent. The aim is checkmate, not making a move that captures the king.
Mistake: Castling through an attacked square.
Instead: Castling moves the king two squares toward a rook and places that rook on the square the king crossed. The king and that rook must never have moved, and the squares between them must be empty. The king cannot castle while in check, through check or into check.
Mistake: Treating every position with no legal moves as a loss.
Instead: Stalemate means the player to move has no legal move but their king is not in check; the game is drawn. Here Black is to move: the king on a8 is not checked, but a7, b7 and b8 are all attacked.
How should a beginner practise?
Look for threats before moving
Check whether your king is attacked, which pieces are threatened, and whether your intended move leaves a piece unprotected.
Develop pieces and protect your king
Practise developing knights and bishops so your pieces can work together. Consider castling when legal; avoid repeatedly moving one piece while neglecting the others.
Practise one situation at a time
Select each piece in the movement section, then compare the special moves before and after. Explain why a move is legal before trying a complete game.
These are practice suggestions, not compulsory moves. There is no single opening you must play in every game.
What to remember
- 8 × 8 board, 16 pieces per side, White moves first.
- Follow each piece's movement and keep your king safe; captures are optional.
- Castling, en passant and promotion have specific conditions; promotion takes effect immediately.
- Checkmate wins; no legal move without check is a draw. Separate claimable draws from automatic draws.
Frequently asked questions
How many squares and pieces are there in chess?
A chessboard has 64 alternating light and dark squares in eight ranks and eight files. Each player has 16 pieces: one king, one queen, two rooks, two bishops, two knights and eight pawns.
Which side moves first?
White moves first.
Is capturing compulsory in chess?
No. You may choose another legal move. If you are in check, the move you choose must remove every check.
What are the conditions for castling?
Castling moves the king two squares toward a rook and places that rook on the square the king crossed. The king and that rook must never have moved, and the squares between them must be empty. The king cannot castle while in check, through check or into check.
When can a pawn capture en passant?
A pawn beside an opposing pawn that has just advanced two squares may capture it as if it had advanced only one. The capturing pawn moves diagonally to the passed-over square. This is allowed only on the immediately following move.
What can a pawn promote to on the last rank?
A pawn reaching the last rank must become a queen, rook, bishop or knight of its own colour. The new piece takes effect immediately. Promotion is not limited to previously captured pieces and cannot create another king.
Do you lose if you have no legal moves but are not in check?
Stalemate means the player to move has no legal move but their king is not in check; the game is drawn. Here Black is to move: the king on a8 is not checked, but a7, b7 and b8 are all attacked.
How is checkmate different from check?
Checkmate means the king is attacked and the player to move has no legal way to escape. The game ends immediately. Here, after f2–f3, e7–e5, g2–g4, Black's queen d8 → h4 gives mate: White cannot move the king to safety, capture the queen or block the check.
Start practising
- Practise both sidesOpen a local board and move both sides to check movement and captures.
- Practise with puzzlesFind a move in positions with a specific objective.
- Play against AIChoose a suitable level and apply the rules in a complete game.
- Compare Chess and XiangqiLearn how the pieces, boards and game endings differ.
Sources and rule verification
- Ruleset covered
- Standard chess · ChessPlayX online play
- Primary source · FIDE Laws of Chess (2023)
This guide follows the FIDE Laws of Chess effective from 1 January 2023. Movement rules and examples use standard chess. Touch-move, scoresheets, clocks and penalties belong to over-the-board competition; selecting a piece on a website does not itself invoke tournament touch-move. Read the event regulations when entering a tournament.
A separate rule-review date is not recorded for this guide. The update date is not a verification date.
