This may be a duplicate question as I don\'t know to phrase the search query. I\'m creating a Zork-like text based game in Java where the character moves to different rooms whic
An array of rooms, and for each room a list of exits, with reference to the room that it leads to.