Yggdrasil is a JavaScript implementation of Trizbort, the adventure game mapping and code generation software. It aims to provide all Trizbort features in the browser, so that no download is required to create and share Trizbort maps,and generate code for several adventure design systems.
At the moment, Yggdrasil supports code generation for the following design systems:
- Alan 2
- Alan 3
- Inform 7
- Quest
- TADS 3
Code generation for Hugo and ZIL may be added in the future.
Yggdrasil is written in TypeScript using the JAMstack. There is no server back-end. It is simple to get it to run locally so you can hack on it. To do so:
- Install Node.js. It will come with npm, the Node.js package manager.
- Fork the project to a local directory.
- Run
npm install
to install all dependencies. This includes TypeScript, Grunt, Handlebars and Express. - Build the project by running
grunt build
. - Run
grunt watch
. This process will rebuild parts of the project whenever you make a change. - Start an Express development server.
- Open
index.html
in your browser.