Adventure Game

[et_pb_section][et_pb_row][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left”]

Text Based Adventure Game (First Try)

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row][et_pb_column type=”2_3″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left”]

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...
  1.  Search through the bones.
  2. Leave by the north exit
  3. Leave by the south exit
  4. 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.

[/et_pb_text][/et_pb_column][et_pb_column type=”1_3″][et_pb_text admin_label=”Text” /][/et_pb_column][/et_pb_row][/et_pb_section]