Zork everywhere
Powered by Bare Native, demonstrating "server" side rendering from the main Bare process rendering a Window and WebView cross platform.
Data is streamed!
-
Rendering is handled via
Cellery render -> Transform -> Websocket -
Inputs are handled via
Websocket -> Transform -> State Machine -> Cellery
Streaming state machine takes actions and performs state changes.
npm run build:all
open ./out/darwin-arm64/bare-zork.app
xcrun simctl install booted ./out/ios-arm64-simulator/bare-zork.app
adb -e install out/android-arm64/BareZork.apk
Linux and Windows supported but not tested
To run headless and access remotely, run on 0.0.0.0
Update the IP in index.html
- Run Zork:
./out/darwin-arm64/bare-zork.app --headless --host 0.0.0.0
- Serve HTML
npx serve -l tcp://0.0.0.0:3000
Go to <your-ip>:3000 on your other device
MIT
Game content inspired by Zork I: The Great Underground Empire by Infocom (1980). ZORK is a registered trademark of Infocom, Inc.
