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 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
Get step-by-step solutions from verified subject matter experts
