Use space bar to make the owl go up. When you pass a pipe you will score 1 point and avoid touching the pipes.
This is a project I did from YouTube, it is a very nice project. Go check the channel Code Kid on YouTube!!