Press space to jump, and don't go too high or low. Press R to restart when you lose.
Inspired by Flappy Bird.