Avoid the rocks and borders by using the keys A for right and D for left or the right and left arrows. ENJOY!
I learnt it from a video I saw on YouTube if you also want to try it, here is the link: https://youtu.be/1a9WJkZmAbQ.