Commit Graph
23 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 4e53a54264 ruleset: cultureKeyword defaults to 'faction' so stored pre-v1.1 rulesets still parse (night-review)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 00:11:50 -05:00
claudeandClaude Opus 5.5 e04ee31788 game: export RULESET_V1_0 (frozen) and pin the §12 golden test to it; DEFAULT_RULESET = current version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:57:24 -05:00
claudeandClaude Opus 5.5 954bdfcdfc game: pin all 48 §2.1 starter pageIds from council-data (#28)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:56:12 -05:00
claudeandClaude Opus 5.5 691fc4a2a3 Merge night/2026-11-16 (#27, #28, #24); card-data from the final 236-card sample and council-data's published percentiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:48:42 -05:00
claudeandClaude Opus 5.5 a0bd095c4e Night 1: engine v1 keywords, Portals, card derivation, starter decks, property and golden tests (#27)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:41:48 +00:00
claudeandClaude Opus 5.5 407a56e2fa game: v1.1 config hooks (default = v1): viral.base, encyclopedic.sides, cultureKeyword
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:37:27 -05:00
claude 5ddc0f4e97 Merge branch 'night/engine/keywords-v1' into night/engine/preview-pool 2026-11-16 23:25:06 -05:00
claudeandClaude Opus 5.5 49f1bf22b2 Merge night/2026-11-16 (#25 squash) into keywords-v1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:25:03 -05:00
claudeandClaude Opus 5.5 b5c90d2dc1 Night 1: game engine core and ENGINE_API.md, DESIGN v1 (#25)
Deterministic, off-chain rules engine in shared/game: createMatch, legalActions, applyAction, isOver, result, viewFor, serialisation, Ruleset as data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:22:10 +00:00
claudeandClaude Opus 5.5 b46049bc72 game: previewPool from frozen starter-cards.json, derived via §1 against the card-sample percentile table
scripts/game-card-data.mjs embeds docs/game/{card-sample,starter-cards}.json
as shared/game/card-data.ts (the engine does no I/O).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:20:55 -05:00
claudeandClaude Opus 5.5 ab561cf4a3 Merge night/engine/core e0ac157; port keywords/Portals to the final hook contract (atScoring, ctx.power, seq); golden §12 passes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:17:17 -05:00
claudeandClaude Opus 5.5 044424b630 game: §2.1 starter decks (pinned loaners), trendDown -200, derive pinned support
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:14:54 -05:00
claudeandClaude Opus 5.5 e0ac157ee1 Engine: trendDown -200 default; nullable loaner pageId counts copies per cardId (DESIGN #23/#24)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:14:51 -05:00
claudeandClaude Opus 5.5 ec24437838 Engine core: implement frozen DESIGN v1 (PR #17) and publish ENGINE_API.md
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>
2026-11-16 23:13:14 -05:00
claudeandClaude Opus 5.5 feae445f5a Night 1: eom.dev accounts, Dex OIDC login (PKCE) and wallet linking (#15)
OIDC PKCE login, ID-token verification against Dex JWKS, a client-built wallet link message, an off-chain account and wallet store, and a mobile-safe login button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:12:50 +00:00
claudeandClaude Opus 5.5 0f2363199b game: v1 keywords and Portals (DESIGN cf2fceb §10), card derivation (§1, §10.1), unit/property/golden tests
- keywords.ts: viral, rising, local, encyclopedic, nostalgic, translated (v1);
  edition, obscure, wildcard (off by default); §10.3 Portals with capacity,
  allOnTopic and topicBonus hooks; isOnTopic, keywordEnabled, hiddenFrom
- ruleset.ts: §10.3 default Topic pool, keyword/portal param defaults
- starter.ts: placeholder loaners carry their faction keyword (§10.1)
- derive.ts: percentile -> fame -> cost -> power, home, trend, keyword choice
- tests: game-keywords, game-derive, game-property, game-golden (§12, todo
  until core implements the frozen §3-§7 rules)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:12:38 -05:00
claudeandClaude Opus 5.5 f3b6097640 Engine core: align with DESIGN.md draft (Edit War)
mulberry32 uint32 seed with the §4 draw order, Topics with stats and Portals,
staggered reveal, initiative and underdog rules, queue/undo/commit/timeout
actions, §9 flat RulesConfig with zod bounds, viewFor hidden info, replay.
cards.ts left to engine-b; placeholder loaners in starter.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 22:55:51 -05:00
claudeandClaude Opus 5.5 7c86ed35f5 Game engine scaffold: seeded RNG, types, Ruleset schema, core loop
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>
2026-11-16 22:50:45 -05:00
eric 636f5b9c77 V2.1 (#21)
Working version Reviewed-on: WikiDeck/wikideck#21
2026-11-01 22:07:51 +00:00
eric 0b9061372b More cards 2026-10-19 18:52:49 -04:00
eric 6155e8b3ed Rich card data 2026-10-19 16:47:27 -04:00
eric 4b47386853 randomx 2026-10-19 15:42:39 -04:00
eric 6d3f470922 v2 2026-10-19 12:16:49 -04:00