I don't think I know how to play this game. The level doesn't seem to be random. and since you can't jump or run you will always stop at the same place when you don't have any light left.
In case to survive in this game you should to collect mashrooms etc. to gain a light. Without light around you, you die. Thanks for comment by the way. I'll improve my game and I hope it'll be better than now it is :)