Peg Solitaire
The objective is to clear the board except for a single peg in the highlighted hole. Click and drag a peg from an occupied hole over a single adjacent occupied hole and into an unoccupied hole.
There are essentially seven distinct starting configurations with a single unoccupied hole and each of these may be selected using the pull-down choice box.
The 'Restart' button may be clicked at any time to return the user to the starting position for the current configuration.
Download source code:
Csolitaire.java

