NeverDark MUCK engine as a dynamic axil module โ real-time multiplayer virtual world running in-process over WebSocket and Telnet. Canonical header is <ttypt/nd.h>.
git clone https://github.com/tty-pt/axil-ndManual Pages
axil-nd
NeverDark MUCK engine as a dynamic axil module โ real-time multiplayer virtual world running in-process over WebSocket and Telnet. Canonical header is<ttypt/nd.h>.
1. Quickstart
Launch NeverDark MUCK inside the Axil server:
mkdir -p var
AXIL_ND_DB=./var/std.db axil -d -A -p 8080 -m ./lib/libaxil-nd:libnd-region:libnd-bus:libnd-obj:libnd-world:libnd-view:libnd-mcp:libnd-speech:libnd-session
Connect to the World
- Web Browser (Xterm 6 + Canvas Viewport): Navigate to
http://localhost:8080/nd - Raw Telnet / Netcat:
`bash nc 127.0.0.1 8080 connect <your-unix-username> `
2. In-Game Command Cheat Sheet
NeverDark uses clean, natural command verbs without legacy @ prefixes:
| Category | Command | Syntax & Example | What It Does |
|---|---|---|---|
| World Shaping | create | create sword / create table | Spawns a new in-game item or object |
door | door north to room_12 | Carves a navigable exit passage between rooms | |
undoor | undoor north | Removes an exit passage | |
wall | wall north | Erects a structural barrier blocking passage | |
unwall | unwall north | Demolishes a barrier, opening the space | |
claim / unclaim | claim | Claims/releases stewardship of current district | |
recycle | recycle debris | Destroys an object and returns database quota | |
| Exploration | look (l) | look / look statue | Describes current room or item |
walk | walk north (or n, s, e, w, u, d) | Navigates through room exits | |
sit / stand | sit chair / stand | Interacts with furniture objects (nd-seat) | |
| Communication | say (") | say Greetings, traveler! | Speaks aloud to everyone present in the room |
pose (:) | :nods thoughtfully | Emotes a physical action in third person | |
page | page alice=Are you ready? | Sends a private whisper directly to a player | |
| RPG & Combat | status / score | status / score | Displays health, mana, stamina, and attributes |
inventory (i) | inventory | Lists items currently carried in your inventory | |
equip | equip iron_sword | Wields weapons or wears armor (nd-equip) | |
fight | fight goblin | Initiates combat encounter (nd-fight) | |
cast | cast spark on goblin | Casts an incantation from your spellbook (nd-spell) | |
| Administration | loadmod | loadmod nd-spell | Dynamically loads a C module into a region (xy_load) |
streload | streload | Hot-reloads in-memory Corm database state |
3. Architecture & Subsystems
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Axil Daemon โ
โ WebSocket Upgrade (GET /nd) Raw Telnet Port โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ axil-nd Core โ
โ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ libcorm Maps โ โ libislet (3D Space) โ โ
โ โ Objects & Props โ โ Morton Coordinates โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Content Plugins (libxylem): nd-fight, nd-spell, nd-biome โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The game world is extended through independent, hot-reloadable libxylem modules:
- Core Entities:
nd-core(object trees),nd-attr(statistics),nd-class(character classes),nd-race(species traits). - Environment:
nd-biome(climates & weather),nd-plant(flora & growth),nd-stone(minerals & geology),nd-wts(world temporal state & day/night). - Gameplay:
nd-fight(tactical combat),nd-spell(magic incantations),nd-shop(in-game merchants),nd-seat(resting).
Core wire, protocol & I/O headers under include/nd/:
- Binary Client Protocol (
<nd/bcp.h>,<nd/bcp-types.h>,<nd/bcp-meta.h>): Packed 144-bytend_entity_packet_tandnd_room_desc_tcontracts with 64-byteartpaths, plus binary map grid and macro-view packets. - Standalone XY Protocol Contract Headers (
<nd/xy-types.h>,<nd/xy.h>,<nd/world-types.h>,<nd/world.h>,<nd/region-types.h>,<nd/regions.h>): Six pure ISO-C protocol contract headers (including_WIN32random()/strlcpy/strlcatinline shims in<nd/xy.h>) enabling all 20 Layer-7nd-*modules to build standalone across all 9 platforms. - Session I/O (
<nd/law.h>): O(1) in-RAMplayer_ref -> fdhash map,fd_player()fast path, andnd_player_is_ws()WebSocket transport detection.
4. Installation & Build
Prebuilt Packages
Prebuilt packages across all 9 platforms โ Linux (APT / Alpine / Arch / Fedora-RHEL), macOS (Homebrew), Windows (winget / Scoop / MSYS2), OpenBSD, plus static mobile sysroots for Android (https://tty.pt/android/) and iOS (https://tty.pt/ios/ โ axil-nd.xcframework + SwiftPM) โ are distributed via tty.pt packages. Use axil-nd as the package name.
Build from Source
# Build browser client assets
npm install && npm run build
# Build native C module
make
sudo make install
License
BSD 2-Clause License. Copyright (c) 2026, quirinpa. See LICENSE.