Play Peg Solitaire online

Jump pegs over each other until one is left. English 33-hole and triangle boards, with undo, hints and a rating for pegs left.

How it works

  1. Pick a board in the menu: English or triangle
  2. Tap a peg, then tap the empty hole it should jump into
  3. Remove pegs one jump at a time until one is left, using Undo and Hint when you are stuck

How to play peg solitaire

To win at peg solitaire, jump pegs over each other until exactly one peg is left on the board. A peg may jump in a straight line over one neighbouring peg into the empty hole directly behind it, and the peg that was jumped over is removed. On the square boards the lines are across and up and down; on the triangle they also run along the diagonals. Every game starts with one empty hole: the centre on the English board and the top hole on the triangle. The English board has 33 holes and starts with 32 pegs, so a full game is 31 jumps. The triangle has 15 holes and 14 pegs, so a full game is 13 jumps. The game ends when no jump is possible. One peg left is a win. On the English board the classic finish is that last peg in the centre hole, where the game started, and this page tells you when you manage it. The page rates a finished game by pegs left: one is Genius, two Excellent, three Very good, four Good. These labels are this page's own, not an official scale.

Hints, undo and how they work

Tap a peg that can jump and the holes it can reach light up in teal; tap one to jump. A small white dot marks every peg that has a jump. Undo takes back the last jump and can be pressed all the way back to the start, and Reset begins again from the first position. The Hint button highlights the first jump of a line that ends with one peg (in the centre on the English board). While you follow the page's stored 31-jump English solution it just reads the next jump; from any other position it runs one depth-first search that remembers positions that led nowhere and stops after looking at 40,000 positions, which takes a fraction of a second on both boards. If no line is found, the page says so and you can Undo and try another route. A hint does not stop your result from being counted. The page keeps your fewest pegs left for each board in this browser.

Strategy for the English board

Do not take pegs from the middle early. Pegs on the edge and in the corner arms are hard to remove late in the game because their neighbours are gone, so clear the arms first and keep a block of pegs together. Look at the shape ahead: two pegs side by side next to a hole can always be cleaned up, but a lone peg far from the others can never be jumped. Work towards the centre, since the last jump has to land the final peg there if you want the classic finish. A known 31-jump solution from the starting position exists, and this page has one built in and checked by replaying it from the start. Because the order of jumps matters, solving the puzzle takes planning, not luck. If you are stuck with 2 or 3 pegs left, Undo several jumps rather than starting again, and try a different route through the same area.

Controls and limits

With a mouse or finger, click or tap a peg and then a highlighted hole. With a keyboard, Tab to the board, move between holes with the arrow keys, and press Enter or Space on a peg and then on its target hole. Pegs and holes are at least 36 pixels wide on a phone. A peg shows its row and column to screen readers along with whether it is a peg or an empty hole, and the page announces each jump and the pegs left. The page keeps no saved game: closing the tab starts a new one, but your best result for each board is kept in this browser. This page does not offer a timer, a daily puzzle, other board sizes or other starting holes.

Frequently asked questions

What is the goal of peg solitaire?

Leave exactly one peg on the board by jumping pegs over each other. Each jump removes the peg you jumped over. The English board starts with 32 pegs, so 31 jumps leave one. On the English board the classic finish is the last peg in the centre hole.

How many pegs and holes are there on each board?

English: 33 holes and 32 pegs. Triangle: 15 holes and 14 pegs. Each starts with one empty hole, the centre or the top, so a perfect game needs 31 or 13 jumps.

Is the English peg solitaire always solvable?

Yes. From the standard start with the centre empty, 31 jumps can leave one peg in the centre. This page has such a line built in and checks it in its tests, so it is not a guess. Finding it yourself is the puzzle.

Can I go back if I make a mistake?

Yes. Undo takes back one jump at a time, all the way to the start. Reset puts every peg back in one tap. Neither costs anything; only your fewest pegs left for a finished game is kept.

What does the rating mean?

It is based on pegs left when no jump remains: 1 is Genius, 2 Excellent, 3 Very good, 4 Good and 5 or more keep practising. These are this page's own labels, not an official scale. Finishing in the centre on the English board is shown separately.

Why does the Hint sometimes find nothing?

The hint searches up to 40,000 positions. That is enough on both boards from most positions, but from a badly played position it may stop before finding a line. Undo a few jumps and ask again.