Skip to content

Instantly share code, notes, and snippets.

@akreer135
Last active December 28, 2015 19:19
Show Gist options
  • Save akreer135/7549739 to your computer and use it in GitHub Desktop.
Save akreer135/7549739 to your computer and use it in GitHub Desktop.
a crazy game (still making)
print "This game only involes yes or no questions sometimes verbs, if it is special verb it will be higlighted like 'this'. Would you like to 'start'?"
start_game = raw_input(">")
if start_game == "start":
print "You are walking in the woods and see a small hole. Would you like to approach it?"
hole = raw_input("> ")
if hole == "yes":
print "You walk up to the hole and noticed it has increased in size just enough for you to fit in. Would you like to go in?"
holego = raw_input("> ")
if holego == "yes":
print "You fall down the deep dark hole until you land on a soft matress!"
print "You see a tiny door you could never fit through, and a small vile that says drink me!"
print "Would you like to drink it?"
drink = raw_input(">")
if drink == "yes":
print "You drink the vile and you get smaller and smaller until you are able to fit through the tiny door."
print "Would you like to enter the small door?"
door = raw_input(">")
if door == "yes":
print "you open the small door to a bright colorful world and you see a large caterpiller."
print " Would you like to approach him?"
approach = raw_input(">")
if approach == "yes":
print "You walk up the the odd caterpillar and he asks you if you would like to 'play' a game."
play = raw_input(">")
if play == "play":
print "He says you are a waste of his time, and slumps away."
print "You see two paths in front of you, should you take 1 or 2?"
path = int(raw_input(">"))
if path > 1:
print "You start to walk down path two, and keep walking and walking until you die of starvation."
if path <=1:
print "You begin walking down path one, and get shot by an evil dwarf saying that it was his path"
if play != "play":
print "You start to follow him and get stuck in a pool of goop and die."
if approach != "yes":
print "Well what are you going to do now, that you are in a magical world?"
if door == "no":
print "It was probably better to stay back anyway."
if drink == "no":
print "Well you are stuck down there now."
if holego == "no":
print "You walk away and never worry about the hole again!"
if hole == "no":
print "You walk away and never worry about the hole again!"
else:
print "Goodbye!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment