News for hackers. Stuff that matters.
Re:Play Aardwolf MUD by dominicrose on Thursday January 08, 2026 @07:36AM (#46540331)
I got my hands on the source code of a MUD. It was incredibly flat. Most of the code was if/else and output text. The data was in flat text files as well (1 line = one unit of data, an integer, range or an element of a list, similar to a .env file). The game dumps all the data at every save. It surprised me because I tried to be clever while making my own MUD engine but the result was exactly that, an engine, not a MUD.
Re:Play Aardwolf MUD by boredtofears on Thursday January 08, 2026 @10:58AM (#46542501)
Reading the various comments in the CircleMUD source is a bit of a treat: https://github.com/Yuffster/CircleMUD
Re:Play Aardwolf MUD by erreon on Thursday January 08, 2026 @09:52PM (#46549564)
Very interesting. Do you remember which source you got your hands on? I dabbled in CircleMud as someone else posted, but mostly Envy 2.0 or 2.2. I can't find those codebases quickly these days, but this is a link to a mud based on Envy 2.2 https://github.com/DikuMUDOmnibus/Ultra-Envy
Re:Play Aardwolf MUD by dominicrose on Saturday January 10, 2026 @01:55PM (#46568759)
It's from 10 years ago, a French MUD called Multimud. It's closed source because the code contains too much information about the game. It's surprisingly simple, a Perl socket-select single-thread process with no dependencies.
Re:Play Aardwolf MUD by immibis on Thursday January 08, 2026 @11:02PM (#46549912)
Some indie games that got open sourced after sales dropped off are the same way. Everyone who looked at Terraria's or VVVVVV's code knows it's terrible, and yet, those games exist and are fun, while clearly coded games are less common.