Use space to jump and avoid all barriers or the edge.
This is all original but it is based on flappy bird.