MudNode
Experimental MUD system written in NodeJS using WebSockets, played through your browser.
Install / Use
/learn @philbgarner/MudNodeREADME
MudNode
MudNode is an experimental MUD system written in NodeJS and played in your browser with WebSockets.
Installation
You need to have NodeJS installed on your system, then from a command prompt inside the folder you extracted this repository to run npm install.
It will automatically download and install any NPM packages required to run MudNode.
Running MudNode
Once NPM package dependencies are installed, you can run it with node index.js. This will start the server back-end and also serve the front-end client on localhost:8080. Direct your browser to http://localhost:8080/ and register your username to begin.
Grammar Processor
Dynamic description templates can be created through the grammar module, and running the text() method with a template will process all the tokens (denoted with the [* and ] characters) and return a generated sentence.
/**
* Example of the grammar processor.
*/
grammar.set('Greeting', '[*Hello], [*friend].')
grammar.set('Hello', ['Greetings', 'Hello', 'Hi', '[*Extended Hello]'])
grammar.set('friend', ['buddy', 'friend', 'pal'])
grammar.set('Extended Hello', [`Such a pleasure to make your acquaintance`, `I'm delighted to meet you`])
console.log(grammar.text('[*Greeting]'))
The above code will produce output sentences like this:
I'm delighted to meet you, pal.
Greetings, pal.
Hello, friend.
Hi, buddy.
Hi, friend.
Such a pleasure to make your acquaintance, pal.
A more detailed documentation of the grammar module is available here.
Discord Server
https://discord.gg/EHtHGnGjtJ
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
