Rules :
The goal is to have only one nail in the board at the end.
Your first move is to take at nail out of the board.
then, you keep removing nails but accoding to a rule.
You can make a nail "jump" above another into a hole, in any direction you choose (expect vertically).
You have to play along using the move described above.
Press R to reset whenever you want, or if you have no possible moves left.
You keep playing till there is no possible move left, in this case, there should be only one nail left in the board