Files
solo-journaling/games/generic/scripts/README.md
T
hypercross 77ed233f8c feat(games): add the generic d6 oracle game package
Serves as the reference implementation of the game package contract:
rules, spark tables, character backgrounds, and an example command.
2026-09-13 16:41:20 +08:00

13 lines
594 B
Markdown

# Tool scripts
Game-specific tooling lives here. There are two ways to ship it:
1. **CLI commands** — export a `commands` map from the game's `index.js`. The
`journal` CLI exposes each entry as `journal <name>`, with the shared dice
and table helpers passed in. This is the recommended path for anything the
agent calls during play (see `../index.js` for the `background` example).
2. **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.