Peg Game, by Brute Force

Cliff Whitmer



Click on a peg to start with that space open


Pegs Remaining:
# of possibe moves:
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14



0 games completed.

Game # Pegs Remain Moves (From, To, Remove)

Instructions:


I always wondered if the peg game could be solved just by guessing random moves enough times. Turns out it can! There is no complicated logic. Each move is just a random guess.



You can also enter the number of games to play, press the "Play Games" button and that many games will quickly be played.


The results of each game will be logged to the table. Any games that get down to 2 pegs will be flagged as yellow and any games that actually make it to a single peg will be flagged with green so they are easy to spot.


The moves are shown as a list of three numbers the coorespond to the peg nubmers.