Avoid jump over the cactuses (space/up arrow), also press down to duck.Try to beat the high score. Good luck!
Thank you @RoyaleGamer26 for the project ¨simple jump code¨. It helped me a lot with this project. Also you can't duck with hats on for some reason, so if you have a hat on you can jump over the birds.