Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help on this python assignments. for in case they're the same paper broken into groups. IT-140-X3205 Introduction to Scripting 21E... 0 D >

image text in transcribed

image text in transcribed

image text in transcribed

I need help on this python assignments. for in case they're the same paper broken into groups.

IT-140-X3205 Introduction to Scripting 21E... 0 D > Module Six Milestone Guidelines and Rubric Overview As you are preparing for your final text game project submission, the use of dictionaries, decision branching, and loops will be an important part of your solution. This milestone will help guide you through the steps of moving from your pseudocode or flowchart to code within the PyCharm integrated development environment (IDE). You will be working with the same text-based game scenario from Projects One and Two. In this milestone, you will develop code for a simplified version of the sample dragon-themed game. The simplified version involves moving between a few rooms and being able to exit the game with an "exit" command. In the simplified version, there are no items, inventory, or villain. Developing this simplified version of the game supports an important programming strategy: working on code in small iterations at a time. Completing this milestone will give you a head start on your work to complete the game for Project Two. Prompt For this milestone, you will be submitting a working draft of the code for a simplified version of the text-based game that you are developing for Project Two. You will focus on displaying how a room dictionary works with the "move" commands. This will include the if, else, and elif statements that move the adventurer from one room to another. 1. Before beginning this milestone, it is important to understand the required functionality for this simplified version of the game. The game should prompt the player to enter commands to either move between rooms or exit the game. Review the Milestone Simplified Dragon Text Game Video and the Milestone Simplified Text Game Flowchart to see an example of the simplified version of the game. A video transcript is available: Transcript for Milestone Simplified Dragon Text Game Video, IMPORTANT: The "Move Between Rooms" process in the Milestone Simplified Text Game Flowchart is intentionally vague. You designed a more detailed flowchart or pseudocode for this process as a part of your work on Project One. Think about how your design will fit into this larger flowchart. 2 In PyCharm, create a new code file titled "ModuleSix Milestone.py." At the top of the file, include a comment with your name. As you develop your code, you must use industry standard best practices, including in-line comments and appropriate naming conventions, to enhance the readability and maintainability of the code. 3. Next, copy the following dictionary into your PY file. This dictionary links rooms to one another and will be used to store all possible moves per room, in order to properly validate player commands (input). This will allow the player to move only between rooms that are linked. Functionality N/A 30 Develops code that meets the required functionality (100%) Does not attempt criterion (0%) Shows progress toward proficiency but with errors or omissions; areas for improvement may include meeting all aspects of required functionality (55%) Gameplay Loop N/A 10 Applies a loop to control program flow (100%) Does not attempt criterion (0%) Shows progress toward proficiency, but with errors or omissions, areas for improvement may include loop syntax or logic (55%) Decision Branching N/A 20 Applies decision branching to control program flow (100%) Does not attempt criterion (0%) Shows progress toward proficiency but with errors or omissions; areas for improvement may include decision branching syntax or logic (55%) Input Validation 20 Validates all instances of user input (85%) Does not attempt criterion (0%) Exceeds proficiency in an exceptionally clear, insightful, sophisticated, or efficient manner (100%) Shows progress toward proficiency, but with errors or omissions; areas for improvement may include validating all instances of user input (55%) Debugging N/A 10 Does not attempt criterion (0%) Debugs code to minimize errors and enhance functionality (100%) Shows progress toward proficiency, but with errors or omissions; areas for improvement may include making sure all possible inputs and tests work for the program (55%) 'Cellar': {'West': 'Bedroom'} } Great Hall North South East Bedroom Cellar West 4. Next, you will develop code to meet the required functionality, by prompting the player to enter commands to move between the rooms or exit the game. To achieve this, you must develop the following: A gameplay loop that includes: Output that displays the room the player is currently in Decision branching that tells the game how to handle the different commands. The commands can be to either move between rooms (such as go North, South, East, or West) or exit. If the player enters a valid "move" command, the game should use the dictionary to move them into the new room. . If the player enters "exit," the game should set their room to a room called "exit." . If the player enters an invalid command, the game should output an error message to the player (input validation). A way to end the gameplay loop once the player is in the "exit" room TIP: Use the pseudocode or flowchart that you designed in Step #4 of Project One to help you develop your code. 5. As you develop, you should debug your code to minimize errors and enhance functionality. After you have developed all of

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

What is operatiing system?

Answered: 1 week ago

Question

LO2.2 List the main characteristics of the market system.

Answered: 1 week ago