Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A Typescript program to generate encounters for 13th Age.


The easy way is to visit the online instance at

If you want to run/develop it locally you will need Node JS, Gulp, and make installed to build this project:

$ npm install
$ gulp

will install the typescript compiler in the project, and compile the typescript source and move it and other resources into the dist directory ready for deployment.

The application is a simple client side web app, so you need to place the dist directory into your webserver and point your browser there. If you have python installed running make server will launch a simple http server on port 8080 for testing.

If you are here using this app, you may find Matthew Colville's video on Challenge Ratings useful or interesting.

Known issues:

  • It will never work in Internet Explorer 10 or lower (Version 0.4 works in IE9), but you shouldn’t be using IE10 or earlier anyway.
  • Internet Explorer 11 is supported by TypeScripts downlevel iteration compiler mode and performs significantly slower than the native version used by every other browser. Consider using something else. Edge is better (if not as snappy as Chrome or Firefox)

See Issues for more.


William Byrd provided feedback and revision to an initial draft of this program. While none of that code has survived into the current version, the changes made were enlightening and pushed forward my understanding of logic programming greatly.


This program uses trademarks and/or copyrights owned by Fire Opal Media, which are used under the Fire Opal Media, 13th Age Community Use Policy. We are expressly prohibited from charging you to use or access this content. This program is not published, endorsed, or specifically approved by Fire Opal Media. For more information about Fire Opal Media's 13th Age Community Use Policy, please visit For more information about Fire Opal Media and 13th Age products, please visit and

Source code copyright © 2014-2018 Andrew Brehaut

Distributed under the Eclipse Public License