Clean-room DragonRealms-inspired MUD.
Current direction: pivoting runtime development to Evennia. The Node/Express API and React web client remain as the working prototype and regression reference while the Evennia implementation is brought to feature parity.
Goal: build a clean-room, text-first DragonRealms-inspired MUD on Evennia where players create accounts, choose canonical DragonRealms-style races, enter Crossing unaffiliated, join guilds in-world, train skills, advance through Circles, explore shops and hunting areas, and fight enemies through asynchronous range-based combat.
Evennia migration entry points:
- Migration roadmap
- Evennia game README
- Pinned Python requirements: requirements-evennia.txt
Legacy prototype: Node/Express API, React web client, file-backed prototype persistence, command smoke coverage, and local telemetry reports.
For runtime and long-term stack direction, see ARCHITECTURE.md.
Install dependencies once:
npm install
npm --prefix server install
npm --prefix frontend installRun the API:
npm --prefix server run devRun the web UI:
npm --prefix frontend run dev -- --host 127.0.0.1 --port 4200Open the UI at http://127.0.0.1:4200.
Run the full local agent check:
npm run agent:checkThis runs build, unit tests, static UI smoke, browser smoke, focused target smoke, focused script smoke, full API smoke, agent prompt smoke, and git status telemetry.
Run the CI-shaped check:
npm run ci:checkThis omits local-only target smoke, agent prompt smoke, and git status. It does run build, unit tests, static UI smoke, browser smoke, focused script smoke, and full API smoke, matching the checks used by GitHub Actions.
API smoke suites run against a live test server. Use scripts/with-test-server.mjs when running them from the repo root:
node scripts/with-test-server.mjs npm --prefix server run smoke:targets
node scripts/with-test-server.mjs npm --prefix server run smoke:scripts
node scripts/with-test-server.mjs npm --prefix server run smoke:combat
node scripts/with-test-server.mjs npm --prefix server run smoke:economy
node scripts/with-test-server.mjs npm --prefix server run smoke:progression
node scripts/with-test-server.mjs npm --prefix server run smoke:identity
node scripts/with-test-server.mjs npm --prefix server run smoke:apiThe focused smoke:targets suite is the fastest target-regression path. It covers scan, structured room target payloads, help targets, target <name>, appraise <target>, engagement, and bare target range details.
The focused smoke:scripts suite is the fastest script-regression path. It covers script create, run, list, delete, post-delete removal, and lifecycle telemetry.
Browser smoke runs against both the API and web UI:
node scripts/with-test-app.mjs npm run smoke:browserStatic UI smoke does not need a server:
npm run smoke:uiAgent prompt smoke validates autonomous continuation prompt generation:
npm run smoke:agent-promptThis verifies that npm run agent:prompt reads the authoritative Current Status priority in SPEC.md instead of stale historical Next priority entries.
npm run agent:check and npm run ci:check write ignored telemetry files under artifacts/telemetry.
GitHub Actions uploads those files as the check-telemetry-build-unit-browser-script-api artifact after npm run ci:check.
Primary artifacts:
summary.json: complete step results with command lines, exit codes, durations, and output tails.summary.md: human-readable check report with step status, gameplay coverage booleans, and gameplay counts.coverage-summary.json: compact machine-readable coverage summary for agents and trend tooling, includinggameplay,scripts, andfrontendsections.<step>.json: per-step telemetry for build, tests, smokes, prompt generation, and git status.
Coverage fields currently distinguish broad combat coverage from target-specific coverage:
gameplay.scanCheckedgameplay.structuredTargetsCheckedgameplay.targetDetailsCheckedgameplay.focusedTargetSmokeCheckedgameplay.agentPromptCurrentStatusCheckedgameplay.scriptLifecycleCheckedgameplay.scriptCreatedCheckedgameplay.scriptRunCheckedgameplay.scriptDeletedCheckedscripts.stepsscripts.createdscripts.ranscripts.deletedscripts.lifecyclescripts.focusedSmokescripts.browserPresetSavedfrontend.staticCommandDiscoveryCheckedfrontend.browserCommandDiscoveryVisiblefrontend.browserScriptDiscoveryVisiblefrontend.browserScriptPresetSavedfrontend.browserTargetDetailsClickedfrontend.browserVerbDiscoveryClicked
Use these fields when reviewing whether a report proves target discovery, target metadata, typed target details, command discovery, prompt generation, and web target-detail affordances all ran.
Successful agent:check and ci:check runs also validate the coverage-summary.json shape before writing final telemetry. Missing gameplay, scripts, frontend, duration, unit-suite, or required script lifecycle fields fail the check immediately.
The web UI includes a Scripts panel for reusable command macros.
- Use
load <preset name>buttons to copy a preset route or shop sweep into the editor. - Edit the command list directly; one command runs per line.
- Use
Save Scriptto store the macro on the logged-in account. - Use
runon a saved script to execute it for the selected character. Pace mscontrols delay between commands, andContinue on command errorslets longer routes keep going after recoverable failures.
Scripts are useful for repeatable town routes, shop checks, guild tours, target discovery drills, and smoke-test-style setup flows.
Core information:
help: list available commands.help scanorhelp targets: explain target discovery and target metadata.look: show the current room, prompts, exits, shop presence, and visible local targets.surveyorsearch: summarize room exits, forage, shop, guild registrar, and immediate targets.exits: list current room exits.score: show character identity, circle, stance, balance, health, room, wallet, and combat summary.skills: show skill ranks and learning pools.inventoryorinv: show carried items.balance: show current balance and stance label.range: show current combat range if engaged.combat: show target, target HP, range, advantage, stance, and balance.forage: search outdoor outskirts or hunting rooms for simple survival finds.
Movement:
north,south,east,west,n,s,e,w: move through visible exits.go <direction>: movement alias.enter,exit,up,down,ne,nw,se,sw: supported where the room graph defines those exits.- Web UI numpad and D-pad controls send the same movement commands.
Target discovery and inspection:
scan: list immediate room targets with vitality and aggression.target: inspect the active combat target.target <name>: inspect a visible room target.appraise <target>: alias for target inspection.- Target details report vitality, aggression, current range, and suggested next verb.
Beginner combat:
stance: show current stance.stance balanced,stance offensive,stance defensive,stance evasive: change combat stance.advanceoradvance <target>: engage or close range toward a target.retreat: open range from an engaged target.attackorattack <target>: attack once in melee range.circle: improve position/advantage while engaged; outside combat it checks circle advancement.jab: faster maneuver usable at pole or melee range.bash: heavier melee-only maneuver.defend: guard and recover footing.flee: break combat.wait <ms>: wait through roundtime and allow recovery/pressure ticks.rest: recover health, including from incapacitation.
Progression:
train: train the guild primary skill or a default starter skill.train <skill>: train a named skill such asmelee,evasion,tactics, orscholarship.circle: attempt to advance to the next circle when requirements are met.join guild: join the guild associated with the current guild room.
Shops and economy:
shop: show the local shop catalog if the room has a shop.shop buy <code>: buy an item by catalog code.shop sell <code>: sell an inventory item by code.- Wallet output currently uses
plat,trias,lucan, andsilk.