Use arrow keys to move. Try to collect as many pellets as you can. Be careful, when you collect pellets, you lose HP. Green pellets heal you, and add to your pellet count because you can always drain the healing out of them later.