Flyt
A Norse interactive fiction game about flyting (ritual insult-poetry contests) where you defend your honour through stat-checked verbal duels.
About
A Norse interactive fiction game about flyting, the ritual insult-poetry contest, where you defend your honour through stat-checked verbal duels. It is built on DendryNexus, a niche StoryNexus-style card-and-deck format: rather than wait for a packaged engine, I wrote a custom compiler that parses the .dry format into a static game.json, consumed by a hand-written reactive runtime with card priority and frequency draw ordering, broad and narrow difficulty checks, and tag-based choice expansion. A substantial authored .dry corpus spans two story areas, the contest and the great-hall, and Claude Code hooks auto-compile .dry files on save to keep the developer loop tight. The reactive engine was later extracted into the standalone Riffle library.
Highlights
- Custom DendryNexus compiler: scripts/compile-dendry.js parses .dry format → static/game.json, consumed by the hand-written Riffle engine.
- Authored .dry narrative content across two story areas: the contest and the great-hall.
- Card priority/frequency draw ordering, broad/narrow difficulty checks with configurable curves, tag-based choice expansion.
- Claude Code hooks auto-compile .dry files on save, keeping the developer loop tight.
- Two story areas authored in .dry: the contest (verbal duel against an opponent with escalating stakes) and the great-hall (social navigation ahead of the contest).
By the numbers
- Commits
- 30
- Lines added
- +12
- Lines removed
- −2
- Source files
- 3,306
