Tutorial MUD, part 5: Networking, part 1

By now we have a program that obediently sits at the command prompt, waiting for us to press CTRL-C so that it can shutdown in a nice way. It all works, but it’s not very exciting. In this part we will begin writing one of the interesting parts of a MUD server, the part that actually puts …

Tutorial MUD, part 4: Mainloop and signals

We are starting to get the groundwork of our server in place, there are just a couple of things left to do. The first thing is to create a loop that will keep the server running. The second thing is to handle signals such as a user pressing CTRL-C in the console where the program …

Tutorial MUD, part 2: Logging

In this second part of making a simple MUD, we will try to add simple logging to our server. Logging is used to output information from the server, that can be read by an administrator in case of some problem. This part continues where part 1 left of, and you can find the complete code …