First commit, done on M6 from the PLAN.MD

This commit is contained in:
gauvainboiche
2026-10-25 17:34:44 +01:00
parent d5dc2a3901
commit 04193e2013
86 changed files with 8396 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// Public engine API. The UI and tools import from here only.
export { createGame, advanceDay, clearPending, setSpeed, setPronouns, isWaiting, summarize, PRONOUNS } from "./game.js";
export { dismissAlert } from "./gameover.js";
export { buildReview, optionImpact, METRIC_IDS } from "./score.js";
export { restoreState } from "./validate.js";
export { setBudget, confirmBudget, computeFiscal, taxRevenue } from "./economy.js";
export { previewBudget } from "./projection.js";
export { qualityFromRatio } from "./state.js";
export { applyEffect } from "./modifiers.js";
export { ensureCard, answerCard, drawCard, indexCards } from "./cards.js";
export { createClock, consumeClock, dateOfDay, weekOfDay, quarterOfDay } from "./time.js";
export { nextFloat, nextInt, pickWeighted } from "./rng.js";
export { IND_IDS, VAR_IDS, TAX_IDS } from "./state.js";