forked from WikiDeck/wikideck
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>
13 lines
537 B
JSON
13 lines
537 B
JSON
{
|
|
"schema": "wikideck.mode/1",
|
|
"id": "trending",
|
|
"version": 1,
|
|
"name": "Trending",
|
|
"description": "Base rules, but live Wikipedia pageview trends power cards up or down: +1 power for every 25% rise in monthly views, -1 for every 25% fall, capped at 3 either way.",
|
|
"tags": ["live-data", "starter"],
|
|
"rules": {},
|
|
"cards": { "preset": "trending", "percentPerPoint": 25, "maxBonus": 3, "penalise": true },
|
|
"decks": { "kind": "starter" },
|
|
"limits": { "maxConcurrentMatches": 32, "turnSeconds": 90, "lobbyMinutes": 15 }
|
|
}
|