The aim of the game is to remove all pegs except the last one. 
How to remove a peg? If you jump over a peg with another, you can remove it. 

In the beginning there is only one empty hole, and there are only four possible moves. 

As you remove the pegs, you will have more potential moves. If there are no more valid moves, the game ends. And remember, no diagonal moves.