Hacker News new | ask | show | jobs
by Jemaclus 3353 days ago
It's a Merc/Diku inspired version. The codebase is written in Go, and the data is stored in JSON files. I'll open source it, eventually. It's feature-complete, I just need to get some bare-bones data in there (like starting areas, items, mobs, etc). Maybe in another month or two. :)
2 comments

You could allow (trusted) players to customize rooms and objects with an in-world accessible Lua layer similar to how LPMUDs used LPC. That would be pretty cool. MUDs taught me how to write creatively, but not how to code; in the future they could do both.
I was already a fairly creative writer when I got into MUDs, but my coding skills were weak and pretty disorganized. Programming a DIKU MUD back in the early 90s that people actually used and enjoyed required me to step up my focus and skills, which got me ready to enter the tech industry proper in the mid 90s.

In-world Lua is a great idea. All of the core MUD programming back then was, of course, written in C, but player (and admin) scripting was done with an embedded Perl interpreter.

Same! A MUD is one of the first things I learned to code with C when I was in college.
Sounds awesome! I do have some built in methods to instantiate mobs, objects, and rooms, then save them to disk, but they're pretty basic and don't allow more advanced things like scripting events or locking doors and things like that.
Well, I'm pretty stoked to hear that! What does 'feature complete' mean? Like, 'MVP' sort of thing? MUDs and friends tend to have a never-end, never 'complete' feature set. (:
Well, I mean that you can technically play the game. You can register, log in, walk around, pick up items, drop items, wear items, wield items, practice, train, fight, die, cast spells, use skills, do socials, check your stats, check your score, check your inventory, open/close/lock/pick doors, join groups, chat, send notes, etc, etc.

You're right that it's never really done, but my theoretical goal is basically a bare-bones MUD written in Go that anyone else could pick up and turn into a fully featured one. More practically, I'll probably just make a couple dozen areas and stick it on a server and see if anyone wants to play before I spend too much more time on it.