Press up arrow to jump over gaps, and while holding the down arrow you turn into a ball (I tried making him slide, but so many glitches are available when I made him slide). Dodge the spikes, and jump over pits to go faster. Every 3 seconds you go faster, aka acceleration.
Credit to myself for programming. Note: Please do not remix this unless you made a positive change to the game.