Encrusted
A z-machine (interpreter) for text adventure games like Zork
Install / Use
/learn @DeMille/EncrustedREADME
A z-machine (interpreter) for Infocom-era text adventure games like Zork
Runs in a web interface or directly in a terminal.
Built with Rust and WebAssembly (wasm32-unknown-unknown).
Features
- [x] Live mapping to keep track of where you are
- [x] Undo / Redo support
- [x] Narration / Dictation using the web speech APIs
- [x] Object tree inspector
Install
Terminal version:
cargo install encrusted --bin encrusted
Run a file with encrusted <FILE>.
Use $undo and $redo to step through your move history.
Use save and restore to save your progress.
Build
WebAssembly/React web version (requires node & rust nightly):
# If you haven't added nightly or the wasm32 target:
rustup toolchain install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
# Runs webpack dev server on port 8000
npm run dev
# Build .wasm module with rust nightly, debug mode
npm run build:debug
# Or build all in release mode & bundle JS into the ./build directory
npm run release
Tests
Run z-machine tests (czech & praxix) through regtest:
npm run test
Notes
- Currently only supports v3 zcode files
- Saves games in the Quetzal format
License
MIT
Related Skills
node-connect
334.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.1kCreate 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
334.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.1kCommit, push, and open a PR
