Just use the left and right arrow keys to move. When you get the score to 45 you win. If you go above boundary line You lose. When a Elevator goes up and Down 10 times, it stops and then it will wait more seconds to start moving again.
I basically started out with something simple, then I turned it into a game. MAJOR ABUNDANT GLITCH: Sometimes when you click the green flag, If the Elevators take more then 10 seconds to go up, Click the Green flag again and it should work. Or you could just double-click the green flag 2 times when you start playing. NEW UPDATE: 10/31/16 - Made the character way more handsome, instead of some red circle blob with a smiley face.