I was a bit confused as too how i won. but i won! so I'm happy :)
There is a bar at the top if it goes down to the bottom before the timer runs out you loose. But if you feed your fire enough wood then you can survive and win. If you choose the lowest amount of time then you will always win
After playing the longer time i got it ! it was much more fun :)