Script started on Thu 11 May 2017 02:16:39 PM MDT [csx3 assignment2 101 ]> python adventure.py Room: Entrance -------------- You're in the entrance hallway. The door that brought you in from the outside is gone. In front of you there is a door that leads deeper into the house. To your left is an entranceway into the pantry. To your right is an entranceway into the kitchen. Room actions 1: Try to open the door 2: Go through the left entryway 3: Go through the right entryway Your selection: -1 ERROR: -1 is not a valid selection, select one of: 1,2,3 Room: Entrance -------------- You're in the entrance hallway. The door that brought you in from the outside is gone. In front of you there is a door that leads deeper into the house. To your left is an entranceway into the pantry. To your right is an entranceway into the kitchen. Room actions 1: Try to open the door 2: Go through the left entryway 3: Go through the right entryway Your selection: 0 ERROR: 0 is not a valid selection, select one of: 1,2,3 Room: Entrance -------------- You're in the entrance hallway. The door that brought you in from the outside is gone. In front of you there is a door that leads deeper into the house. To your left is an entranceway into the pantry. To your right is an entranceway into the kitchen. Room actions 1: Try to open the door 2: Go through the left entryway 3: Go through the right entryway Your selection: 4 ERROR: 4 is not a valid selection, select one of: 1,2,3 Room: Entrance -------------- You're in the entrance hallway. The door that brought you in from the outside is gone. In front of you there is a door that leads deeper into the house. To your left is an entranceway into the pantry. To your right is an entranceway into the kitchen. Room actions 1: Try to open the door 2: Go through the left entryway 3: Go through the right entryway Your selection: 3 Room: Kitchen -------------- You're in a kitchen with many modern appliances. In front of you is gold lock with 3 positions: left, center and right. Behind you is the doorway to the entranceway. Room actions The gold lock is currently set to the center position. 1: Turn the gold lock to the left position 2: Turn the gold lock to the right position 3: Turn the gold lock to the center position 4: Don't change the position! Return to entranceway Your selection: 0 ERROR: 0 is not a valid selection, select one of: 1,2,3,4 Room: Kitchen -------------- You're in a kitchen with many modern appliances. In front of you is gold lock with 3 positions: left, center and right. Behind you is the doorway to the entranceway. Room actions The gold lock is currently set to the center position. 1: Turn the gold lock to the left position 2: Turn the gold lock to the right position 3: Turn the gold lock to the center position 4: Don't change the position! Return to entranceway Your selection: 1 Room: Kitchen -------------- You're in a kitchen with many modern appliances. In front of you is gold lock with 3 positions: left, center and right. Behind you is the doorway to the entranceway. Room actions The gold lock is currently set to the left position. 1: Turn the gold lock to the left position 2: Turn the gold lock to the right position 3: Turn the gold lock to the center position 4: Don't change the position! Return to entranceway Your selection: foobar! Traceback (most recent call last): File "adventure.py", line 116, in selection = int(input("Your selection: ")) ValueError: invalid literal for int() with base 10: 'foobar!' [csx3 assignment2 102 ]> ^Dexit Script done on Thu 11 May 2017 02:17:23 PM MDT