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.
This commit is contained in:
2026-09-13 16:41:20 +08:00
parent 6607ab1db3
commit 77ed233f8c
9 changed files with 146 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# 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.