Use the arrow keys, Up will go to the top side and jump (when on top side), Down will go to the bottom side and jump (when on bottom side). It's pretty self explanatory, dodge spikes. You only die if you hit spikes from the sides. If you touch a spike by standing on the bottom of it, you survive!
A pretty cool thing to know, at any moment on this project, the 2 colors that make up the game are always contrasting! I.e. they are on opposite sides on the color wheel!