just take the shortest distance possible.memorise where the rocks pop up and avoid it .
actually, there's already rocks up.