Serves as the reference implementation of the game package contract: rules, spark tables, character backgrounds, and an example command.
Tool scripts
Game-specific tooling lives here. There are two ways to ship it:
- CLI commands — export a
commandsmap from the game'sindex.js. ThejournalCLI exposes each entry asjournal <name>, with the shared dice and table helpers passed in. This is the recommended path for anything the agent calls during play (see../index.jsfor thebackgroundexample). - Standalone scripts — drop one-off executables in this directory, for
jobs like importing content or converting data, and run them with
node.
See docs/games.md for the full contract.