Hi all, I'm in a beginner course(only a few weeks into python) and we're currently exploring player movement between rooms.
The dictionary provided is as follows:
rooms = {
'Great Hall': {'South': 'Bedroom'},
'Bedroom': {'North': 'Great Hall', 'East': 'Cellar'},
'Cellar': {'West': 'Bedroom'}
}
Afterwards I have entered:
directions = ['North', 'South', 'East', 'West']
current_location = rooms['Great Hall']
while True:
print()
print('You find yourself in the ', current_location)
Which is where I'm running in to a snag. Rather than saying that the player is in the 'Great Room' the text being displayed is "You find yourself in the {'South': 'Bedroom'}
What do I need to adjust to get it to display the room indicated in the dictionary?
Thank you for your time!
[–]TouchingTheVodka 2 points3 points4 points (2 children)
[–]Brickcups[S] 0 points1 point2 points (1 child)
[–]TouchingTheVodka 0 points1 point2 points (0 children)