Trending mode sets trendDown -25 so falling trends matter (base rules ignore
them at -200). Doc examples updated and tested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
docs/game/CARD_DATA.md, card-sample.json (100 cards), starter-cards.json, scripts/night sampler and analysis.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live/trending presets freeze the engine's trend arrow from cached live data;
the host turn timer uses the ruleset's turnSeconds and applies the engine's
timeout action (logged, replayable AFK forfeits). Non-draft modes whose rules
make starter decks illegal are rejected at startup. HOSTING.md updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fixes from #12, critic's M1-M4/S1-S5, sections 10-12 (keywords, modes, worked example), engine pins and scoring order.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Modes are inert JSON (shared/game/modes.ts): rule overrides on the engine's
DEFAULT_RULESET, re-validated by parseRuleset; card-mapping presets from a
fixed list; deck policy and limits. server/game/ publishes this node's modes,
discovers configured peers' modes as data (byte cap, timeout, pinned origin),
and hosts lobbies, snake drafts and matches with the deterministic engine.
Finished matches are off-chain JSONL records with seed, decks and action log
(replayable). Per-mode and host leaderboards. Docs in docs/game/HOSTING.md,
including security notes and an on-chain host-reward proposal.
One mount line in server/testnet/http.ts; no consensus changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Draft of the game rules (sections 0-9); keywords, modes and worked example to follow before the 23:30 freeze.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>