Use the arrow keys and space bar to move and jump, respectively.
Source code adapted from Benjamin Joffe's Canvascape.