Use the arrow keys to move around. The yellow circles are coins. Try not to hit the red squares. If you hit five red squares then you lose. Your score is how many coins you got. If you cannot move, then click the green flag again.
Credit to @frogcoder and @phch