Arrows to move, space to jump.
The Coding Games in Scratch Book had a project like this one, so I copied the gravity code and idea into here.