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 (
- Live mapping to keep track of where you are
- Undo / Redo support
- Narration / Dictation using the web speech APIs
- Object tree inspector
cargo install encrusted --bin encrusted
Run a file with
$redo to step through your move history.
restore to save your progress.
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
npm run test
- Currently only supports v3 zcode files
- Saves games in the Quetzal format