So it'd be like:
Which way do you want to go? East or west?
C:\FOONEGAM> west
You head west, the cave narrows, and you hear bats. Go back? (type YES or NO)
C:\FOONEGAM> no
You head deeper into the cave, and eventually it opens back up, and you see light in the distance. You're free!