Z: Jump X: Run Arrow Keys: Move Jump while running to jump higher. Falling in the pit will reset your character.
I spent multiple hours making the ability to jump, walk, and run. Sorta depressing actually. One day I plan to build off this test and make a full game out of it. I have labeled most of the code so go ahead and remix this project any way you like! Also walking left doesn't work right... so yeah.