Adventure Time Solution

Below is a solution that uses a dictionary whose keys are the place locations and whose values are themselves dictionaries with two keys/value pairs: the description of that location and a list of places that one can go next. So a dictionary within a dictionary (dict-ception). For instance, a data structure with one entry in the dictionary might look like this

Some students chose to make the value a list instead of a dictionary, which is fine. The only downside is we now need to use some magic number indices to access the description and next place, so it is stylistically not quite as elegant

Matching braces can be a real pain when we have nested lists/dictionaries like this, so I'm going to break it down by starting over and adding elements one at a time

Finally, we can put this together in a while loop that's our game. We'll make the game end when we end up outside