Skip to content

Drache93/bare-zork

Repository files navigation

Bare Zork

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

  • Coremachine

  • Cellery

  • Zork Machine

Streaming state machine takes actions and performs state changes.

demo

Build

npm run build:all

Install

MacOS

open ./out/darwin-arm64/bare-zork.app

iOS

xcrun simctl install booted ./out/ios-arm64-simulator/bare-zork.app

Android

adb -e install out/android-arm64/BareZork.apk

Linux and Windows supported but not tested

Headless

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

License

MIT

Game content inspired by Zork I: The Great Underground Empire by Infocom (1980). ZORK is a registered trademark of Infocom, Inc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors