1D Chess Solution

Step through Martin Gardner’s 6-move forced win on the classic eight-square board. Follow 1. N2–4 and test every legal Black reply.

Classic eight-square rules

Classic 1D Chess

Play White against the computer.

White to move

Move history

    Quick Answer: How to Win 1D Chess

    White holds a forced win in at most six White moves from the standard eight-square starting position (K N R . . r n k), beginning with 1. N2–4 (jumping the white knight from square 2 to square 4 over its own rook).

    Many players try 1. R3×6 first, assuming a free rook wins on the spot. In reality, 1. R3×6 is an immediate stalemate draw: Black’s king on square 8 is shielded by its own knight on square 7 (so it is not in check), cannot move onto occupied square 7, and cannot jump the knight to square 5 because that would uncover check from the white rook on square 6. With no legal move and a safe king, the game ends in a draw.

    Opening with 1. N2–4 avoids stalemate, keeps the white rook ready behind square 4, and leaves Black only three legal first replies—every one of which loses by force.

    All Three Black Replies After 1. N2–4

    Use the interactive board above to step forward or backward through each branch, or click a Black reply button to jump directly to move 2.

    Black’s 1st Reply White Forces Mate By Winning 2nd Move Core Tactical Idea
    1...R6×4 White’s 3rd move 2. R3×4 White recaptures with the rook and claims square 4; 2...N7–5 walks into 3. R4×5#.
    1...R6–5 White’s 4th move 2. K1–2 A quiet king waiting move puts Black in zugzwang, forcing the rook trade 2...R5×4.
    1...N7–5 White’s 6th move 2. N4×6+ Black’s longest defense; White drives out the king and sacrifices 5. N6–8 to force 6. R4×5#.

    Branch 1: 1...R6×4 (Mate on White Move 3)

    Capturing the knight on square 4 is Black’s fastest loss because it clears the center for White’s rook:

    1. 1. N2–4 R6×4 — Black captures the forward knight, leaving the black rook on square 4.
    2. 2. R3×4 N7–5 — White recaptures with the rook. Black’s king cannot move onto square 7, so 2...N7–5 is Black’s only legal reply.
    3. 3. R4×5# — White captures the knight on square 5 and delivers checkmate along the open rank.

    Branch 2: 1...R6–5 (Mate on White Move 4)

    If Black steps the rook to square 5 instead, taking it immediately fails because the rook is protected by Black’s knight on square 7. White wins with a quiet zugzwang waiting move:

    1. 1. N2–4 R6–5 — Black blocks square 5 with the rook.
    2. 2. K1–2 R5×4 — White steps the king to square 2, passing the turn to Black without giving up any square. Black’s king on 8 is boxed in by its knight on 7, and the knight cannot jump to 5 because Black’s own rook occupies square 5. Retreating 2...R5–6 allows immediate checkmate with 3. N4×6#, so Black is forced into 2...R5×4.
    3. 3. R3×4 N7–5 — White recaptures on square 4, forcing Black’s last legal knight jump.
    4. 4. R4×5# — White captures on square 5 with checkmate.

    Branch 3: 1...N7–5 (Mate on White Move 6 — Main Line)

    Black’s toughest defense is 1...N7–5, blocking square 5 with the knight while opening square 7 as an escape for the king. White needs six moves and a crisp knight sacrifice on move 5:

    1. 1. N2–4 N7–5 — Black avoids the rook exchange and steps the knight forward.
    2. 2. N4×6+ K8–7 — White’s knight leaps over square 5 to capture Black’s rook with check, forcing the black king onto square 7.
    3. 3. R3–4 N5–3+ — White advances the rook to square 4. Black’s only counterplay is checking the white king with 3...N5–3+.
    4. 4. K1–2 N3–5 — White steps out of check onto square 2. Now Black’s king is trapped (N6 covers square 8 and occupies square 6), and jumping away with 4...N3–1 allows immediate discovered checkmate via 5. N6–8#, so Black must return with 4...N3–5 to shield the king.
    5. 5. N6–8 K7×8 — The winning decoy sacrifice: White jumps behind Black’s king to square 8. Because White’s knight on 8 guards square 6 and White’s rook on 4 pins Black’s knight on 5 to its king, 5...K7×8 is Black’s only legal move.
    6. 6. R4×5# — With Black’s king pulled back to square 8, White captures the knight on square 5 and delivers checkmate.

    Martin Gardner’s 1980 Analysis

    The eight-square board and its six-move forced win come from Martin Gardner’s July 1980 Scientific American “Mathematical Games” column, with the solution published in the August 1980 column and later collected in The Last Recreations. Because the entire state space on eight squares contains only 1,237 reachable positions from the classic setup, every line above is verified exhaustively by the built-in retrograde solver.

    Keep Playing 1D Chess

    1D Chess Solution Questions

    How do you win 1D Chess on the first move?

    White forces checkmate from the classic starting position by opening with 1. N2–4 (moving the knight from square 2 to square 4). Jumping over the white rook attacks square 6 and keeps the black king trapped behind its own pieces.

    What happens if Black captures the knight with 1...R6×4?

    Capturing on square 4 is Black’s fastest loss. White recaptures with 2. R3×4, leaving Black only 2...N7–5, after which 3. R4×5# delivers checkmate on White’s third move.

    Can White still win if Black plays 1...R6–5?

    Yes. Against 1...R6–5, White plays the quiet waiting move 2. K1–2, putting Black in zugzwang. Black must trade with 2...R5×4, and after 3. R3×4 N7–5, White delivers mate with 4. R4×5#.

    What is Black’s longest defense in 1D Chess?

    Moving the black knight with 1...N7–5 is Black’s longest defense, lasting six White moves. White responds 2. N4×6+ K8–7 3. R3–4 N5–3+ 4. K1–2 N3–5 5. N6–8 K7×8 6. R4×5#, forcing checkmate.