This version oif the game cannot be beaten. It's simply how many levels you can complete with fewest clicks and resets
( all but one level can be done with a single click/jump ).
So restarting is not a bad thing. It helps you figure out how to go through levels faster.