Commit Graph
24 Commits
Author SHA1 Message Date
claude 030fde5ec7 Merge remote-tracking branch 'origin/night/2026-11-16' into night/modes/hosting 2026-11-16 23:33:32 -05:00
claudeandClaude Opus 5.5 ce7ad43e3c Modes: reject non-hostable keywords (obscure) in mode rules; document card-input boundary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:31:35 -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 ae50e62535 Night 1: DESIGN.md v1 freeze, §2.1 starter decks, §8 top-heavy target, trendDown off (#23)
Supersedes #18 and #21.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:21:29 +00:00
claudeandClaude Opus 5.5 edcf69f883 Modes: follow engine core ec24437..c938407 (portalReveal, onTopicBonus array, trendDown)
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>
2026-11-16 23:21:19 -05:00
claude ac1c255701 Merge remote-tracking branch 'origin/night/2026-11-16' into night/modes/hosting
# Conflicts:
#	server/testnet/http.ts
2026-11-16 23:20:07 -05:00
claude 32f3e3410b Merge remote-tracking branch 'origin/night/engine/core' into night/modes/hosting 2026-11-16 23:19:55 -05:00
claudeandClaude Opus 5.5 59a7c5654c Modes: claim lobby before await in join; trend warm-up 20 s, configurable (review on #22)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:19:55 -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 6fb9a2e8b4 Night 1: card data distributions, sample and starter list, interim (#20)
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>
2026-11-17 04:12:05 +00:00
claudeandClaude Opus 5.5 b2ec917af4 Night 1: DESIGN.md final v1 keyword set, 6 keywords with engine-b ids (#17)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:12:04 +00:00
claude c1a1325564 Night 1 handbook: avoid commands that trigger manual approval 2026-11-17 04:08:18 +00:00
claudeandClaude Opus 5.5 670508a4dc Modes: host-side ruleset checks, trust boundary and Wikipedia-load notes (review on #6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:04:58 -05:00
claudeandClaude Opus 5.5 a2c2166bcc Modes: follow engine core f3b6097 (trend arrows, timeouts, deckSize)
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>
2026-11-16 23:04:12 -05:00
claudeandClaude Opus 5.5 53d30e5cae Night 1: DESIGN.md v1 frozen, Edit War with keywords, modes and golden example (#13)
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>
2026-11-17 04:01:22 +00:00
claudeandClaude Opus 5.5 7fef46e38e Peer-hosted game modes: mode schema, node API, host credit, three example modes
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>
2026-11-16 23:00:17 -05:00
claudeandClaude Opus 5.5 7390a17a91 Night 1: DESIGN.md v1 draft, Edit War lanes game (#12)
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>
2026-11-17 03:52:06 +00:00
claudeandClaude Opus 5.5 f507b0eaed Night 1: module boundaries (docs/night/BOUNDARIES.md) (#11)
Records path ownership, test prefixes, shared hook points and off-limits consensus files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 03:51:25 +00:00
claude 1d3c5e5743 Night 1: team handbook 2026-11-17 03:41:33 +00: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