In this assignment, students are tasked with designing a text-based adventure game. This game should utilize the Python essentials covered thus far, including, but not limited to:

  • Strings and String Manipulation
  • User-Defined Functions and Variables
  • User Input and Input Handling
  • Conditional and Nested Conditional Statements (if/elif/else)
  • Loops
  • Controlling for Errors

This assignment will test your Python fundamentals, as well as your creativity. Students are required to submit the following deliverables:

  • A working version of your game in the following format:
    • .py script or .ipynb notebook
  • A game map (.pptx format), including the following:
    • map of the game, including its intended user flow
    • locations of conditional statements
    • locations of loops
    • defined global variables (if any)

The working version of the game should include:

An executable script (a script that runs from beginning to end upon execution) that includes:

  • a game that can be successfully completed within a maximum of 4 minutes
  • a minimum of:
    • 3 stages (maximum of 5 stages)
    • 2 defined variables
    • 1 loop
    • 1 nested conditional statement
    • 1 fail() function (executed whenever a user loses the game)
  • A docstring at the beginning of game that:
    • Is no more than 150 words
    • Introduces the game and its purpose
    • Identifies any bugs that are not yet worked out
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.