This is for @MedinaHeatherL's contest! It's like Flappy Bird, but for Harry Potter. Don't touch the ground or the obstacles. Use the space key, up arrow key, or your finger (finger is much easier, just drag Harry up and down). Comment your score in the comments! Advertising is allowed.
The player (Harry) isn't my art, I found it on google. The (bad) background is my art. It's supposed to by Hogwarts with people flying around on broomsticks, but I didn't have a picture so it turned out not so good. All code is mine (this took literally like 10 minutes because I took most of the code from my Flappy Bluestar).