forked from WikiDeck/wikideck
Pure deterministic off-chain engine in shared/game: createMatch, legalActions, applyAction, isOver, result, viewFor, serialize/deserialize, replay. Placeholder Snap-style lanes rules until DESIGN.md v1; keyword hook registry for engine-b. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
709 B
TypeScript
11 lines
709 B
TypeScript
/** Public entry point of the WikiDeck game engine. See docs/game/ENGINE_API.md. */
|
|
export * from './types.ts';
|
|
export { Rng, seedRng, type RngState } from './rng.ts';
|
|
export { DEFAULT_RULESET, RulesetSchema, parseRuleset, energyForTurn } from './ruleset.ts';
|
|
export {
|
|
ENGINE_VERSION, createMatch, legalActions, applyAction, actionProblem, isOver, result, viewFor,
|
|
serialize, deserialize, replay, validateDeck, cardPower, lanePower, modifierActive,
|
|
} from './engine.ts';
|
|
export { KEYWORDS, LANE_MODIFIERS, CATEGORY_ORDER, type KeywordDef, type LaneModifierDef, type EffectContext } from './keywords.ts';
|
|
export { STARTER_POOL, starterCard, starterDeck, cardFromStats, type CardSource } from './cards.ts';
|