Question: help me fix this code Now we are going to expand on our code that tracks which room the player is in so that the

 help me fix this code Now we are going to expandon our code that tracks which room the player is in sothat the game ends when the player gets to the "end" room.This is our win condition and all good games have one ofthose! This time, to help you along a bit, we're going to

help me fix this code

Now we are going to expand on our code that tracks which room the player is in so that the game ends when the player gets to the "end" room. This is our win condition and all good games have one of those! This time, to help you along a bit, we're going to give you two code snippets. The first you'll recognise from the last question it changes which room you are in if you are in the "middle" room: if room-= "middle": print ("Actions available: forward, backward, look") action = input("> ") if action "forward": room end" elif action "backward": room "start" else: room- "midde

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!