Text Based Adventure Game (First Try)
Write a text based adventure game. If you use only the Python you’ve learned so far in this class, it will probably be pretty short. At each decision point in the story, give the user a choice of actions in a menu, like this:
You wake up in a dark cave with bones on the floor. There are two exits. Do you...
-
Search through the bones.
-
Leave by the north exit
-
Leave by the south exit
-
Wait and see what happens.
The user then chooses a number one through four, and you tell them what happens next. Do as much as you can at this point. Of course, you could try and learn more Python to make this easier! The only thing you should NOT do is just copy someone else’s code without understanding it.