Left and right to move, up arrow to jump.
This project demonstrates a method for simulating jumping with gravity that uses relatively simple code.