You have to find your way through the mazr before the time runs out. Or face serious consequences!
Play on peaceful and make a backup before you play because if you lose the map will be unrecoverable.
Also read the signs before starting. It will help you through the game.
Cheats are enabled but do NOT use them.