So I'm trying to make a text adventure game in Python 2.7 with limited options. I want to find a way where if an answer that isn't programmed in is input, it will re-ask the question. Thanks.
while True:
print "You wake up in a dim room. Cold water trickles down your spine through the rags you are wearing."
break
while True:
q1 = raw_input("Exit or Explore? ")
if q1 in ("explore", "Explore","EXPLORE",):
print "You search the room. All you find is a small, maroon object. You reach for it, but all of the sudden, it explodes. You are dead."
exit()
elif q1 in ("exit","EXIT","Exit",):
print "Light flashes before your eyes as you find yourself on a scenic mountaintop. It drops to the north and west. To the east is a winding road. In the distance you see a village."
else:
print "..."
q2 = raw_input("Which direction do you go? ")
if q2 in ("North","north","NORTH","West","west","WEST",):
print "You clumsily stumble off the cliff. You are dead."
exit()
elif q2 in ("east","EAST","East",):
print "You travel for a few hours and arrive at"
break