It's been some time since I last posted anything regarding TutorialMUD.
Don't worry, I haven't given up on it, and I still want to finish it. There will however still be some time until next post, as I'm thinking about the best way to continue with the series.
I'm thinking about the format of the series, maybe have posts with less code and more explanations about the actual code in the GIT repository instead. I'm also thinking about ways to lessen the number of networking posts. Networking is really central and important to a networked game, and as such is a large chunk of the code base. But as this is not a networking tutorial it might not be necessary to go into the gritty details too much, and instead continue to the actual MUD specific code. The same goes for basically all the other parts of the server as well, with me thinking that it's better to show how all pieces fit together than go into the details of every subsystem.
I don't know how many follow this, but I welcome all feedback I can get.
I haven’t been able to post new updates to the TutorialMUD series lately. Mostly because I have been very busy at work, but I have also started working again on one of my private projects. I will also not be able to post anything for another couple of weeks, as me and my wife will be traveling to the Philippines.
I have the next couple of articles almost finished, so I hope to put them up in quick succession when I get back home to Sweden.
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 the Multi User in Multi User Dungeon: Networking.
Continue reading “Tutorial MUD, part 5: Networking, part 1”
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 is running.
For the previous article see part 3, and you can find the code we will be building on on github under the
Continue reading “Tutorial MUD, part 4: Mainloop and signals”