original post on Reddit | source code on GitHub
Place a peg in each hole on the board.
To remove pegs from the board by jumping one peg over another, removing the peg as it is jumped. Moves can be made in diagonal, vertical or horizontal directions.
Remove any one peg. The first move is to jump a peg into the vacant hole. Remove the jumped peg and continue.
Remove all the pegs by jumping except for one which must end up in the circled hole.