This is just a quick proof-of-concept Peg Solitaire game. It allows the user to "play".
A move is accomplished by left-clicking on a red peg and "dragging" it to an empty spot - skipping another peg along the way. Then letting go of the mouse button.
I think this action is more natural than others I've seen implemented.
I also wanted to see how complicated it was to validate legal moves in as short code as possible.
Here is the game - click link below.
Revised 18 Jun 2017