feat(oracle): add dice, d6 oracle, and table engine

The oracle and CSV table logic live in one dependency-free package so
every source of randomness in the project flows through a single library.
This commit is contained in:
2026-09-13 16:41:13 +08:00
parent 3353c23a0b
commit 02933a483d
6 changed files with 270 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
export { rollDie, rollExpr } from './dice.js';
export { parseCsv } from './csv.js';
export { parseTable, tableRange, rollTable } from './tables.js';
export { D6_ORACLE, oracle } from './oracle.js';