press space bar to go up and down and avoid the obstacles
I made this using a YouTube tutorial so thank you YouTube!