Commit Graph
14 Commits
Author SHA1 Message Date
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 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
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 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 e7e51aecdb Night 1: env-configurable Wikimedia User-Agent, WIKIDECK_USER_AGENT (#19)
Default UA unchanged; the testnet sets a contact URL in deploy/night only. Testnet wallet password moves to an env var.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:12:48 +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 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
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