Crates.io | encrusted |
lib.rs | encrusted |
version | 1.1.0 |
source | src |
created_at | 2018-06-07 00:22:08.113108 |
updated_at | 2019-02-25 07:10:06.360793 |
description | A z-machine (interpreter) for Infocom-era text adventure games |
homepage | |
repository | https://github.com/demille/encrusted |
max_upload_size | |
id | 68981 |
size | 1,078,934 |
Runs in a web interface or directly in a terminal.
Built with Rust and WebAssembly (wasm32-unknown-unknown
).
🎮  Launch the web player
Features
Terminal version:
cargo install 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.
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
Run z-machine tests (czech & praxix) through regtest:
npm run test
Currently only supports v3 zcode files
Saves games in the Quetzal format
MIT