Skip to content

Instantly share code, notes, and snippets.

@dbasilioesp
Created November 13, 2015 17:36
Show Gist options
  • Save dbasilioesp/39afb4cc38f32409205a to your computer and use it in GitHub Desktop.
Save dbasilioesp/39afb4cc38f32409205a to your computer and use it in GitHub Desktop.
print "This is my game."
print "You liked the game whit me?"
print "Response yes or no."
quest = raw_input()
if quest == "yes":
print "Okay, let's go the menu."
while True:
print "Menu"
print
print "1) Stay"
print "2) Run"
print "3) Exit"
print
response = raw_input("response:")
if response == "1":
print "An animal is approaching sure you want to stay?"
if response == "2":
print "Up ahead there is a house for you to hide."
if response == "3":
print "Bye"
raw_input()
break
if quest == "no":
print "bye!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment