don't touch the spikes and press the spacebar or up arrow to jump.
Thanks to @griffpatch for the code