Notes on solving and playing peg solitaire on a computer
George I. Bell

TL;DR
This paper explores computational methods for solving and analyzing peg solitaire, including identifying winning positions and counting solutions, on two common board shapes, enhancing game strategy and computational efficiency.
Contribution
It introduces algorithms for efficiently identifying all winning positions and counting solutions in peg solitaire, with detailed analysis on two standard boards.
Findings
All winning positions on the 15-hole triangle board can be stored with 437 key positions.
All winning positions on the 33-hole cross-shaped board can be stored with 839,536 key positions.
Total solutions to the central game are approximately 4.09×10^16.
Abstract
We consider the one-person game of peg solitaire played on a computer. Two popular board shapes are the 33-hole cross-shaped board, and the 15-hole triangle board---we use them as examples throughout. The basic game begins from a full board with one peg missing and the goal is to finish at a board position with one peg. First, we discuss ways to solve the basic game on a computer. Then we consider the problem of quickly distinguishing board positions where the goal can still be reached ("winning" board positions) from those where it cannot. This enables a computer to alert the player if a jump under consideration leads to a dead end. On the 15-hole triangle board, it is possible to identify all winning board positions (from any single vacancy start) by storing a key set of 437 board positions. For the "central game" on the 33-hole cross-shaped board, we can identify all winning board…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Games · Educational Games and Gamification · Digital Games and Media
