Fumbling rather randomly around in the dark, you will experience a lot of repetition in The Cave, but not much in the way of self-discovery. Your goal is to get out, and underway you get some spells, abilities, and improved stats. I’m not sure how these affect your chances, but they probably somehow do. I’m also not sure how I managed to get out of the cave in the end, but somehow I did.