I'm making a text RPG for practice, but I was wondering how I could go about making a system that works like in a MUD... For those of you that don't know, you basically have a map of linked rooms.
Example Room:
Obviously it would have to be some kind of structure for the room, with a title, body description, list of exits, and list of contained items (?)... But I really don't know how to link the rooms together, etc... Any ideas?The End of the Road
This is the end of the road! All that you can do is turn back. The road ends at a cliff; you can't see the bottom...
Exit(s): South
Things Here: A Jolt Cola machine, a rat, a man promoting bungy diving