Python coding game
A1: Text Adventure Game Development Due Thursday by 10pm Points 100 Submitting a file upload File Types ipynb Available until Jan 27 at 10pm Start Assignment Text Adventure Game Development In this assignment, students are tasked with designing a text-based adventure game (https://www.thefreedictionary.com/Text+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 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 …a minimum of: 3 stages, not including the fail()/win() functions (maximum of 5 stages). Think of a stage like a scene where many things can happen before moving on to the next scene. 2 defined variables 1 loop 1 nested conditional statement (conditional statement within a conditional statement) 1 fail() function (executed whenever a user loses the game) 1 win() function (executed whenever a user wins the game) All code should be in a single code cell 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 Submission Requirements https://www.thefreedictionary.com/Text+adventure+game A working version of your game in the following format: Jupyter Notebook (.ipynb format) All code needs to be in a single cell Restrictions Your game must be based on a book, movie, or TV show. Make sure to provide a source in the docstring. No compressed files (.zip, .rar, etc.). No linking to external content or websites. No alternate paths or endings. A user must either win or lose your game. Do not make different versions of the same stage. No games based on Pokemon, Harry Potter, or Hangman. (advanced) The only programming language you may use is Python (no JavaScript, C, or other languages allowed). (advanced) Global variables may NOT be used (avoid things such as combat engines and character attributes such as health points). (advanced) No use of class structures or other object-oriented programming structures (you must stick to user-defined functions). (advanced) Your functions are not allowed to have return statements. (advanced) You are not allowed to pass things between the stages of your game (stages should not inherit arguments from other stages). For example, a key found in Stage 1 cannot be carried forward to Stage 2. Tips Make sure to explicitly label argument functions. It is a great idea to explore the random package to increase replay value. If a user plays the game more than once, they should experience different questions/scenarios/etc. Be creative! This is a passion piece for your project portfolio! __________________________________________________ Game Starter Code Game Starter Code.ipynb (https://mycourses.hult.edu/courses/3338356/files/216622554/download? download_frd=1) __________________________________________________ Sample Game: What Is Your Quest? https://mycourses.hult.edu/courses/3338356/files/216622554/download?wrap=1 https://mycourses.hult.edu/courses/3338356/files/216622554/download?download_frd=1 Text Adventure Game Rubric This sample game would likely receive a D grade as it meets the minimum requirements for the assignment. Positive Aspects: It functions properly and runs with the single click of a button The docstring is in proper order The story flows reasonably well and is entertaining for those that like Monty Python The nested conditional and while loop are well placed Error handling has been somewhat taken into consideration (although in this case it restricts user input) Areas of Improvement: The story is very simple and selection choices are predictable It lacks replay value (there is not enough diversity in riddles, game flow is very linear, etc.) The black_knight stage should have been given more depth User input is quite restrictive for a text adventure game Lacks dynamic content The game follows the template too closely Script game_what_is_your_quest.py (https://mycourses.hult.edu/courses/3338356/files/216622650/download?download_frd=1) __________________________________________________ This assignment comprises 30% of your total grade for this course. https://mycourses.hult.edu/courses/3338356/files/216622650/download?wrap=1 https://mycourses.hult.edu/courses/3338356/files/216622650/download?download_frd=1 Criteria Ratings Use of Course Concepts and Meeting Assignment Criteria 25 pts Code expresses an exceptional utilization of required concepts. Functions, loops, conditionals, and other concepts are appropriately designed and syntax labels are intuitive. ~ and ~ Code is well commented. 20 pts Code expresses good utilization of required concepts, but some concepts are missing, used inappropriately, or are not optimal for their intended use and/or syntax labels are not intuitive. ~ and ~ Code is well commented. 15 pts Code expresses basic utilization of required concepts. Some concepts may be missing, used inappropriately, or are not optimal for their intended use and/or syntax labels are not intuitive. ~ and ~ Code is NOT well commented. 5 pts Code expresses a lack of understanding of required concepts. Many concepts are missing, used inappropriately, or are not optimal for their intended use, and/or syntax labels are not intuitive. ~ and ~ Code is NOT well commented. 0 pts No attempt. Bugs/Errors 25 pts Code contains no bugs/errors. (-5 points for each bug/error) No Description Code contains 1-2 bugs/errors. (-5 points for each bug/error) No Description Code contains 3-4 bugs/errors. (-5 points for each bug/error) 0 pts Code contains 5es/errors. (-5 points for each bug/error) 0 pts No attempt. Creativity and Replay Value 25 pts Game is well designed based on a book, movie or TV show. It has a high degree of replay value and does not follow the template/game sample too closely. 20 pts 1 of the following is suboptimal: • game design • high degree of replay value • does NOT follow the template/game sample too closely. 15 pts 2 of the following are suboptimal: • game design • high degree of replay value • does NOT follow the template/game sample too closely. 5 pts 3 of the following are suboptimal: • game design • high degree of replay value • does NOT follow the template/game sample too closely. 0 pts No attempt. User Experience 25 pts Excellent work in regards to: • instructions • user input is not too restrictive • text case control • docstring • time limit 17 pts 1 of the following are sub-optimal: • instructions • user input is not too restrictive • text case control • docstring • time limit 10 pts 2-3 of the following are sub-optimal: • instructions • user input is not too restrictive • text case control • docstring • time limit 5 pts 4 or more of the following are sub- optimal: • instructions • user input is not too restrictive • text case control • docstring • time limit 0 pts No attempt. Overall A 90+ pts B 80+ pts C 70+ pts D 60+ pts F 0+ pts