subject
Computers and Technology, 11.06.2021 23:20 eve2055

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.

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.

In PyCharm, create a new code file titled “ModuleSixMilestone. 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.
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.

Note: For this milestone, you are being given a dictionary and map for a simplified version of the dragon-themed game. Make sure to read the code carefully so that you understand how it works. In Project Two, you will create your own dictionary based on your designs.
#A dictionary for the simplified dragon text game
#The dictionary links a room to other rooms.
rooms = {
'Great Hall': {'South': 'Bedroom'},
'Bedroom': {'North': 'Great Hall', 'East': 'Cellar'},
'Cellar': {'West': 'Bedroom'}
}
A portion of the map for the Dragon Text Game showing the Great Hall, Bedroom, and Cellar, with arrows indicating the directions the player can move between them. The Cellar is to the East of the Bedroom, which is to the South of the Great Hall.
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.
As you develop, you should debug your code to minimize errors and enhance functionality. After you have developed all of your code, be sure to run the code to test and make sure it is working correctly.
What happens if the player enters a valid direction? Does the game move them to the correct room?
What happens if the player enters an invalid direction? Does the game provide the correct output?
Can the player exit the game?

This is what I have so far? But I getting errors can you provide a guide what are these errors?

def DisplayInstructions():
print( "Welcome to Princess Adventure game")
print("Move commands:go South, go North, go East, go West, exit")

def move_between_rooms(current_room, move, rooms):
current_room = rooms[current_room][move]
return current_room

rooms = {
'4th Maze Wing':{'South': 'Sleeping Princess', 'North': 'Master Maze Wing', 'East': '3rd Maze Wing', 'West':
'6th Maze Wing'}
'7th Maze Wing':{'North':'Master Wing Maze','East':'Dragon',:'Sleeping Princess'},
'Sleeping Princess':{'West':'Sleeping Princess',:'Dragon'},
'Master Maze Wing':{'South','Master Maze Wing','East':'2nd Maze Wing',:},
'2nd Maze Wing':{ 'West':'Master Wing Maze','},
'3rd Maze Wing':{'West':'Master Maze Wing','North':'5th Maze Wing',},
'5th Maze Wing':{'South':'3rd Maze Wing',},
'6th Maze Wing':{'East':'Master Wing Maze',},

def main():

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
This assignment continues work on the online booking facility introduced at the end of chapter- 10. the work will be continued in the assignments for chapters 14 and 15 (a) assume that you will produce your online booking facility using an agile approach. i. suggest the kind of user research you would like to conduct for your product before iteration cycles begin. ii prioritize the requirements for your product according to business value, i.e which requirements are likely to provide the greatest business benefit, and sketch out the ux design work you would expect to undertake during the first four iteration cycles, i.e. cycle 0, and cycles 1 to 3. (b) using one of the mockup tools introduced above, generate a mockup of your product's landing page, as developed in the assignment for chapter-11 (c) using one of the patterns websites listed previously, identify suitable interaction patterns for elements of your product, and develop a software-based prototype that incorporates all the feedback and the results of the user experience mapping achieved at the end of chapter-11. if you do not have experience in using any of these, create a few html web pages to represent the basic structure of your website
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another person that is not true.
Answers: 2
question
Computers and Technology, 24.06.2019 22:50
Which of these might be an example of an advertiser's target group? a.people who have no access to media b.people the advertisers know nothing about c. people who watch a variety of tv shows d. people who live in the same region of the country
Answers: 2
You know the right answer?
Prompt For this milestone, you will be submitting a working draft of the code for a simplified vers...
Questions
question
Business, 14.01.2021 17:00
question
Mathematics, 14.01.2021 17:00
question
French, 14.01.2021 17:00
Questions on the website: 13722363