ssube / textual-engine

an event-driven text adventure engine for both narrative story telling and procedural dungeon crawling
MIT License
16 stars 2 forks source link
adventure cli game game-engine text-adventure text-adventure-engine text-adventure-game typescript

Textual Engine

This is a text adventure engine for the CLI and browsers, supporting both narrative fiction and procedural dungeon crawlers, using an event and service architecture.

See the demo on Github Pages or the getting started docs for more info.

snippet of wandering goblins and attacking bats

Features

Contents

Building

Some make targets are provided:

Playing

A recent version of the game is available on Github Pages.

If you have a copy of this repository checked out, the make run target will build and launch the game on the CLI, using the Ink rendering engine and demo world.

If you prefer to run a Docker image, the latest build is published as ssube/textual-engine:master-stretch, and can be run with:

> docker run --rm -it ssube/textual-engine:master-stretch \
  --config data/config.yml \
  --data file://data/demo.yml

Docs

More detailed docs are located in ./docs.

Available documentation includes:

License

This project uses the MIT license.