Press space to flap (move up the screen) and don't touch the obstacles. You can touch the floor.
Thanks to helmum for following me and joined Pixel fodder so I could remix. I changed the bird as before it was a square and altered the code.