I went too high and got like 70 cookies, just to discover I lost, then I got 1 cookie and went back to the dog and I won lol. I understood the gameplay too late :P