Click or press space for it to go up and don't touch the pipes, same as original. It's a bit laggy, and at least 30 fps (frames per second) are needed.
I changed quite a lot of the code and thanks to SmartShark for helping me come up with this idea. Tell me what score you got in the comments, my friend got 593, can you beat that?