Click or space to switch sides to avoid spikes. Also, the player y is the mouse y.
All by me just a game i made in 10min.