Try to dodge the rocks by pressing SPACE which will move you forward, so if you press A or D you will move backward or forward.
Duck Life Minigame.