Arrow keys to move.
Modified a little to fix some bugs. Slope detection and slope jumping by @romadillo. Rest by me.