Peg solitaire

Peg solitaire online

Jump the wooden pegs over each other on the classic 33-hole cross until just one is left — in the centre for a perfect game. Stuck? The solver hint always knows a way out if there is one. Free, no sign-up, made for touch.

Peg solitaire: Classic 33-hole

Pegs32Jumps0Best—

Tap a peg, then tap a glowing hole to jump over a neighbour — or drag the peg. The jumped peg is removed. Finish with one peg; in the centre is perfect.

How to play peg solitaire

The start: 32 pegs, centre empty
A first jump: over a neighbour into the gap
  1. Start with the classic board. 32 pegs fill the cross-shaped board and the centre hole is empty. Prefer a gentle start? Pick one of the 8 warm-up boards from the menu (4 to 20 pegs).
  2. Jump a peg. Tap a peg, then tap one of the glowing holes. A peg jumps straight over a neighbouring peg — left, right, up or down, never diagonally — into the empty hole right behind it. You can also drag the peg into the hole.
  3. Remove the jumped peg. The peg you jumped over is taken off the board automatically, so every jump leaves one peg fewer.
  4. Finish with one peg. Keep jumping until no jump is possible. One peg left means you solved it; one peg in the centre hole is the perfect finish. The classic board needs exactly 31 jumps.
  5. Undo, restart or ask for a hint. Undo takes back jumps, Restart resets the board and Hint plays the next jump of a winning line found by our solver from your current position.

Peg solitaire strategy: how to get down to one peg

  • Don’t strand pegs in the arms. The four arms of the cross are where games are lost. A peg left alone at the end of an arm can only be removed by a peg jumping in from the middle, so clear the arms while there are still pegs next to them.
  • Work in “packages”. Experienced players clear the board in small groups: three pegs in a row with a gap beside them, or an L of pegs next to a gap, can be removed in a fixed sequence that leaves the gap where it started. Clearing whole blocks keeps the rest of the board tidy.
  • Keep the middle for last. The centre region gives the most jump options. Spend pegs from the edges first and save the crowded middle for the end game.
  • Avoid isolated pegs. A peg with no neighbours can’t jump and can’t be jumped. Before each move, check you are not leaving one behind.
  • Plan the last few jumps backwards. With five or six pegs left, picture the final jump into the centre and work out which pegs need to be where. The warm-up boards are great practice for this.

Why jumping at random almost never works

We let a computer play 100,000 games of the classic board making a random legal jump each turn. It finished with one peg zero times. On average it got stuck with 7.63 pegs left; only 317 games (0.32%) got down to 3 or fewer, and 697 games jammed after just 6 jumps with 26 pegs still on the board. Getting to one peg takes a plan, not luck.

Pegs left when stuckRandom games
2–3317 (0.32%)
4–511,222 (11.2%)
6–740,777 (40.8%)
8–935,130 (35.1%)
10–1311,595 (11.6%)
14–26+959 (0.96%)

Where can the last peg finish?

The only 5 possible last holes (centre in green)

Colour the board with three colours in diagonal stripes. Every jump changes the number of pegs on each colour by one, so the odd/even pattern of the three counts flips in a fixed way — in both diagonal directions. Starting from the classic position, that pattern only matches a single peg on 5 holes: the centre and the middle hole of each outer edge.

The colouring only proves the other 28 holes are impossible; it doesn’t prove these 5 can be reached. So we asked our solver for each of them — every one has a 31-jump solution.

Warm-up boards

Besides the classic start there are 8 original boards with fewer pegs. Each one was built backwards from a single peg in the centre, so it is guaranteed solvable, and our solver re-checks every one. The success rate is how often random jumping happens to finish it — lower is harder.

Level 1: 4 pegs · random 14.6%
Level 2: 6 pegs · random 16.0%
Level 3: 8 pegs · random 5.6%
Level 4: 10 pegs · random 3.9%
BoardPegsJumps to winRandom success
Level 14314.6%
Level 26516.0%
Level 3875.6%
Level 41093.9%
Level 512110.93%
Level 614130.47%
Level 717160.13%
Level 820190.07%
Classic32310 in 100,000

More puzzles like peg solitaire

Peg solitaire rewards planning several moves ahead, just like the Tower of Hanoi, where you move a tower of disks in the fewest moves. For sliding puzzles try the 15 puzzle or klotski; for pencil-style logic try Fillomino and LITS. Chinese speakers can play the 孔明棋 version of this page with the same saved games.

FAQ

How do you win peg solitaire?

Jump pegs until only one remains. On the English 33-hole board you start with 32 pegs, so a win takes exactly 31 jumps. Finishing with the last peg in the centre — where the empty hole started — is the traditional perfect solution.

Is the classic board always solvable?

Yes, the standard start (all holes filled except the centre) can be solved to a single peg in the centre. Our solver finds such a 31-jump solution in a few milliseconds; press Hint repeatedly from the start to watch one.

Where can the last peg end up?

Starting with the centre empty, the last peg can only finish in the centre or in the middle hole of one of the four outer edges. A colouring argument rules out every other hole, and our solver confirmed that all five of these finishes are possible.

Why does Hint sometimes say there is no way to finish?

Some positions simply can’t be reduced to one peg any more — for example when two pegs are left far apart. The solver checks every line from your position; if none works it tells you to undo. If a position is very complicated it may stop early and ask you to undo one jump and try again.

Is peg solitaire the same as Brainvita or marble solitaire?

Yes. The same game is sold as peg solitaire, marble solitaire, Brainvita or solo noble. The English board has 33 holes in a cross; the French (European) board has 37. This page uses the English board.

Does it work on a phone or iPad, and is my progress saved?

Yes. Holes are big enough for fingers, both tap-tap and drag work, and your current game, solved boards and best results are kept in this browser — no sign-up.