View Single Post
Old 01-29-2015, 10:07 AM   #3
dentin
Member
 
Join Date: Apr 2008
Home MUD: Alter Aeon
Posts: 245
dentin is on a distinguished road
Re: Help With MUD Design In C

Looking at other mud code is probably a bad idea. You don't really know enough C to make sense of it yet. This is a perfectly fine project to be learning how to code on.

To quote myself from 20 years ago when I was starting Alter Aeon in a similar fashion (minus goto and sleep()), "this sounds like a job for a structure!" Look up structures as a way to store multiple pieces of data together, then store your room information in an array of room structures with numbers representing how they connect to each other. That should get you one step farther, but there's still a long way to go.

Good luck!

Alter Aeon MUD
dentin is offline   Reply With Quote