forked from WikiDeck/wikideck
Interleaved reveal, alternating initiative, energy carry, onTopicBonus by cost, consensus tie-break, hidden Portals with visible stats, laneCapacity 3, Portal capacity/canPlay/atScoring/allOnTopic hooks, keywordsEnabled dispatch, §10.3 default Topic pool, global reveal seq. KEYWORDS/PORTALS left to engine-b. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
862 B
TypeScript
11 lines
862 B
TypeScript
/** Public entry point of the WikiDeck game engine. Other teams import only from here. See docs/game/ENGINE_API.md. */
|
|
export * from './types.ts';
|
|
export { Rng, seedFromString, normalizeSeed, type RngState } from './rng.ts';
|
|
export { DEFAULT_RULESET, DEFAULT_TOPIC_POOL, RulesetSchema, TopicSchema, parseRuleset } from './ruleset.ts';
|
|
export {
|
|
ENGINE_VERSION, createMatch, legalActions, applyAction, actionProblem, isOver, result, viewFor,
|
|
serialize, deserialize, replay, validateDeck, cardPower, lanePower, laneLeader, laneCapacity, scoringPower, topicsLed, other, placeCard, revealPortal,
|
|
} from './engine.ts';
|
|
export { KEYWORDS, PORTALS, KEYWORD_IDS, PORTAL_IDS, allies, activePortal, isOnTopic, type KeywordDef, type PortalDef, type EffectContext } from './keywords.ts';
|
|
export { STARTER_POOL, loanerCard, previewPool, starterDeck } from './starter.ts';
|