Use the up and down arrow keys to move the guy avoiding the moons. If you hit a moon you lose a life, hit a heart gain a life, don't run out of lives.