Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sys import exit
- def entorhinal_cortex():
- print
- print "You are currently in between layer 2 and 3 of the entorhinal cortex. You have the option of traveling in either layer. Which layer do you want to walk along?"
- next = raw_input ("> ")
- if "2" in next or "3" in next:
- how_much = int(next)
- else:
- dead("Sorry, no can do. Guess you're stuck in the entorhinal cortex!")
- if how_much == 2:
- print "Welcome! Now you have the option of exploring the dentate gyrus or the hippocampal region CA3. Enter your choice."
- while True:
- next = raw_input("> ")
- if next.lower() == "dentate gyrus":
- dentate_gyrus()
- elif next.lower() == "hippocampal region ca3":
- hippocampal_region_CA3()
- else:
- print "That doesn't make much sense. Try typing that in again."
- elif how_much == 3:
- print "Sweet pick. Since the entorhinal cortex has 2 major projections, you have the option of exploring the hippocampal region CA1 or the subiculum. Enter your choice."
- while True:
- next = raw_input("> ")
- if next.lower() == "hippocampal region CA1":
- hippocampal_region_CA1()
- elif next.lower() == "subiculum":
- subiculum()
- else:
- dead("You just missed out on such a good adventure. Bummer.")
- def dentate_gyrus():
- print
- print "Ah, the dentate gyrus. Good pick. The dentate gyrus is one of the few regions in the adult brain where neurogenesis is thought to take place. It also plays a role in depression."
- print "There are three major types of neurons found here."
- print "Would you like to learn about them?"
- while True:
- next = raw_input ("> ")
- if next.lower() == "yes":
- print "The dentate gyrus primarily consists of granule cells, interneurons and pyramidal cells."
- print "The dentate gyrus' main projection is to the CA3. So off to there you go!"
- hippocampal_region_CA3()
- else:
- dead("Aww, too bad. Guess you don't really want to explore the hippocampus.")
- def hippocampal_region_CA3():
- print
- print "Now you're in the hippocampal region CA3 or simply, the CA3."
- print "There are a few proposed behavioral functions of the CA3."
- print "Would you like to learn about one?"
- next = raw_input ("> ")
- if next.lower() == "yes":
- print "The CA3 plays a role in the encoding of new spatial information within short-term memory with a duration of seconds and minutes."
- print "The CA3's main projection is to the CA1. So that's where you're headed to next."
- hippocampal_region_CA1()
- else:
- dead("Ok, you missed out. But no problem.")
- def subiculum():
- print
- print "Hey, now you're in the most inferior region of the hippcampus called the subiculum. It lies between the entorhinal cortex and the CA1."
- print "Do you want to stay or leave?"
- next = raw_input("> ")
- if next.lower() == "stay":
- dead("Alright guess I'll leave you here.")
- elif next.lower() == "leave":
- entorhinal_cortex_2()
- else:
- print "Huh? Try again."
- def hippocampal_region_CA1():
- print
- print "--------------------"
- print "Welcome to the hippocampal region CA1 or simply, CA1."
- print "This region sends a large amount of output to the subiculum and some inputs back to the entorhinal cortex."
- print "Which way would you like to travel?"
- while True:
- next = raw_input("> ")
- if next.lower() == "subiculum":
- subiculum()
- elif next.lower() == "entorhinal cortex":
- entorhinal_cortex_2()
- else:
- print "Try typing that again."
- def entorhinal_cortex_2():
- print
- print "You have now, more or less, made a full loop within the connections of the hippocampus. Congratulations!"
- print "If you want to explore a bit more, please replay the game! Is this what you want to do?"
- next = raw_input("> ")
- if next.lower() == "yes":
- entorhinal_cortex()
- else:
- dead("Thanks for playing.")
- def dead(why):
- print why, "Have a good one."
- exit(0)
- def start():
- print
- print "Hello. You're about to explore the hippocampus."
- print "There will be many paths and therfore, many decisions you can make."
- print "Enter 'Ready!' when prompted and you can begin your journey."
- next = raw_input("> ")
- if next.lower() == "ready!":
- entorhinal_cortex()
- else:
- dead("Maybe another time!")
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement