Found a glitch to win. Just go left for ~10s out of the borders of the screen and then up. Seems like someone forgot to restrict the position of the frog to the screen size :)