Python for data analysts: methods & tools

Text Adventure Game Development

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

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

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 3 minutes (i.e., you can win the game in 3 minutes or less)
  • for a passing grade, your text adventure game must include a minimum of:
    • 3 stages (maximum of 5 stages)
    • 5 defined variables
    • 1 list
    • 1 for loop
    • 1 while loop
    • 3 nested conditional statements (all must include an else clause)
    • 1 win() function (Executed whenever a user wins the game. There must be only one win function)
    • 1 fail() function (Executed whenever a user loses the game. There must be only one fail function)
  • A description at the beginning of game that:
    • Is no more than 300 words
    • Introduces the story, game, and its objective
    • Identifies any bugs that are not yet worked out

Requirements and Restrictions

  • Your game must be based on a book, movie, or TV show. Make sure to provide a source in A.P.A. format.
  • The only programming language you may use is Python (no JavaScript, C, or other languages are allowed).
  • Global variables may NOT be used (avoid things such as combat engines and/or character attributes such as health points).
  • No use of class structures or other object-oriented programming structures (you must stick to user-defined functions).
  • You are not allowed to pass things between the stages of your game (stages should not inherit arguments from other stages; no optional or mandatory arguments). For example, a key found in Stage 1 cannot be carried forward to Stage 2. However, you can statically write this into your text if it is required for your story.

Deliverables

  • A working version of your game in the following format:
    • Jupyter Notebook (.ipynb format)
      • One markdown cell containing the description
      • One code cell containing the game (points will be deducted if the submission contains more than one code cell)
  • The code submitted as a .txt file (copy/paste the code into a .txt file). Points will be deducted if the submission is not a .txt file.
Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more