1D Chess Rules

Learn the classic eight-square rules, try the three pieces, and follow White’s forced win against different defenses.

Try the moves

King

Step one square along the row. A king cannot move onto a square the other side attacks.

Knight

Jump exactly two squares left or right. The piece in between does not stop the jump.

Rook

Slide left or right any distance. Stop before a friendly piece or on a piece you can capture.

Stalemate

If you have no legal move and your king is safe, the game is drawn. Check changes that to checkmate.

Set up the board

Number the squares 1 through 8 from White’s end. Place White’s king, knight and rook on 1, 2 and 3, leave 4 and 5 empty, then put Black’s rook, knight and king on 6, 7 and 8. White moves first. After the first move, players alternate one move at a time.

A piece captures by landing on an opponent’s occupied square. A rook cannot cross an occupied square. A knight can jump the intervening square, but it cannot land on a piece of its own color. A legal move leaves your own king safe. The kings cannot stand next to one another because each would attack the other’s square.

Checkmate, stalemate and draws

Check means your king is under attack. You must make it safe on this turn. Move the king, capture the attacker, or block a sliding rook if you can. A knight’s jump cannot be blocked.

Checkmate means the king is under attack and the side to move has no legal answer. The game ends there.

Stalemate means the side to move has no legal move but its king is safe. The result is a draw. The difference is easy to overlook after a capture. Always check whether the king is under attack before calling the position a win.

In this browser version a position also draws on its third occurrence with the same side to move. With only the two kings left, the game is a draw.

Read the line, then play it

Count from your own king. Give every candidate move a quick safety check. Where will the enemy knight land? Does the enemy rook have a clear line? If you capture the rook, can the opponent move anything on the next turn?

A reliable first move in the classic starting position is knight from 2 to 4. Gardner’s analysis gives White a forced win in at most six White moves. A given defense can lose sooner. Use the review to compare Black’s different first replies, then try the position in a live game.

What changes after Black’s first reply?

After White moves the knight from 2 to 4, Black has three legal replies. This table counts White’s moves from the starting position, including that opening knight move. The figure for each branch assumes best play from both sides from then on.

Black’s first reply White can force mate by
Rook from 6 to 4, capturing the knight White’s third move
Rook from 6 to 5 White’s fourth move
Knight from 7 to 5 White’s sixth move

The knight reply is Black’s longest defense. In the interactive review, select a Black reply to follow that line move by move.

Source notes

The eight-square setup appears in Martin Gardner’s July 1980 Scientific American column. The August column gives the solution. His later The Last Recreations collects the problem and analysis.

Why White can force a win

Follow the classic opening one move at a time. Choose a Black reply to see how White keeps the win.

Open the interactive solution