Just click the green flag.
This was all coded by me without any help. I did not come up with this game. "TPBG" stands for "The peg board game". When this reaches a best of 1, it will stop and you can look through the log to replay the exact same game. It lists the moves as x (which peg in the row), y (the row (1 for top and 5 for bottom)), and direction (UR=up right, UL = up left, R=right, ect.)