Press space to make him Fly. If you hit a pipe it is game over. To get rid of game over just click the green flag again.
This took about 2-3 hours of coding and thinking I hope you enjoy the project!