Skip to content

v1.0.0 — first public release

Latest

Choose a tag to compare

@RandMelville RandMelville released this 10 Jul 21:46
· 2 commits to main since this release

First public release of fable-engine, a tiny, framework-free TypeScript engine for interactive narratives.

What it does

  • Plays interactive branching stories (scenes, state variables, choices, conditionals) in a Canvas 2D player.
  • Exports each story as a single self-contained, offline .html file (file over app): no server, no network requests, opens in any browser.
  • Produces a deterministic summary of a story's algorithmic structure (scenes, variables, branches, modifiers) as evidence for interpreting computational thinking, not a score of cognitive faculties.
  • Zero runtime dependencies. Strict TypeScript, no any.

Validation

  • Headless self-check: 20/20 passing.
  • End-to-end (Playwright): 3/3, confirming the exported .html plays offline with zero external network requests.
  • Strict typecheck clean; ESM + .d.ts build.

Install

npm install fable-engine

Citing

See CITATION.cff. Developed within the RemidiAção platform (PPGIE/UFRGS) to operationalize the remediation of written texts into interactive digital narratives.