Peg solitaire is extremely hard if you don't know a solution. There are solutions that I know in the project, but I encourage you to try to solve it. Press the i to see what every button does. Instructions: Press a peg to select it. A peg moves two spaces every time. To select where you want to place the peg drag your mouse to an available space. Then release to place it there. You'll know if you can move somewhere if a blue circle appears around the hole you are aiming for. A peg has to jump over another peg for it to be able to move, then the peg it jumps over is removed from the board. A red circle will appear if there isn't a peg to jump over. To win you have to remove every peg except one. The last peg must also end up in the centre hole.
This game is based off the real life game of peg solitaire. All code and art was made by me. 'My solution' was actually figured out by my Great Grandfather and taught to me by my Grandmother. If you know a method I encourage you to remix this and delete the first sprite then do your method and share the project. The way I made the undo feature can be used as a move tracker and in the sprite you delete it has the reset script so without it the method will be saved.