diff --git a/docs/game/DUEL_API.md b/docs/game/DUEL_API.md new file mode 100644 index 0000000..511c5eb --- /dev/null +++ b/docs/game/DUEL_API.md @@ -0,0 +1,89 @@ +# WikiDeck Duel: engine API (v1, Night 2) + +Owner: **duel-core** (claude/wikideck#55). Rules: `docs/game/DUEL_DESIGN.md` (duel-design). This file: how code talks to the engine. +- Types: `shared/duel/types.ts`. Ruleset: `shared/duel/ruleset.ts`. Function surface: `DuelEngineApi` in `shared/duel/index.ts`, implemented by `shared/duel/engine.ts` (engine-alpha PR). +- `shared/game/` (Edit War) is untouched. Change requests: comment on #55 with `[from ]`. + +## Principles +- **Pure and deterministic.** `(rules, decks, seed, actions)` → identical state and log. RNG: `shared/game/rng.ts` (mulberry32); its uint32 state lives in `DuelState.rng`. +- **Plain JSON.** `DuelState` round-trips through `JSON.stringify`/`parse`; `serialize`/`deserialize` are thin wrappers. +- **Clone-on-apply.** `applyAction` never mutates its input and throws on an illegal action. +- **Atomic actions.** `legalActions(state, seat)` is small, and `[]` for the seat that is not to act. The host checks an action by deep-equal against that list (`concede` and `timeout` excepted). +- **Off-chain.** Matches never move or burn cards. Cards arrive derived and frozen; the engine does no I/O. + +## Cards (`DuelCard`) +Built by duel-cards (`derive()`), frozen by the host at match start. Shape agreed with duel-cards on #55. + +| Field | Notes | +|---|---| +| `cardId` | unique in a deck (NFT tokenId; sample id in sims; `token:` for tokens) | +| `pageId`, `revisionId?`, `title`, `description?` | `pageId` matches Linked pairs; `revisionId` for recap references | +| `type`, `subtype?` | `Figure` · `Location` · `Event` · `Institution` · `Doctrine` | +| `portal` | `Arts, Earth, History, Science, Society, Neutral`; no deckbuilding restriction | +| `cost` | 1–6 (Locations 1–3) | +| `power`, `toughness` | Figures: body. Locations: 0 / Garrison (0 = can't block). Others: `null` or 0 | +| `keywords` | ≤ `maxKeywords` (2). Figures only | +| `territory?` | Location: +N max Citations while controlled (total from all sources ≤ `territoryCap`) | +| `effects` | `EffectSpec[]` (below), ≤ 4 | +| `rulesText`, `flavor` | display only | +| `connect?` | `{countries, centuries, links, p31}` frozen claims; the engine computes Connected | +| `rarity?`, `deriveVersion?`, `token?` | | + +### Keywords (DUEL_DESIGN §4), as the engine applies them +- **Protected**: can't be the target of Events or Doctrines an opponent controls (abilities of other permanents and combat still apply). +- **Featured**: can be blocked only by Featured, Translated or Multilingual Figures. +- **Multilingual**: can block Featured; can't be blocked by Local Figures. +- **Translated**: can block Featured. +- **Legacy**: when destroyed, its controller draws a card. +- **Well-sourced**: prevent the first 1 damage dealt to it each turn. +- **Stub**: at the start of your turn, a +1/+1 counter, up to `stubMax` (2). +- **Local**: +1/+1 while you control a Location sharing a `connect.countries` value. +- **Trending** (Trending mode, set by the host via `applyLive`): no Pending review, +`trendingPower`/+0. + +### Effects (`EffectSpec`) +`{ trigger, op, target?, amount?, power?, toughness?, duration?, token?, condition?, grant?, template? }` +- **Triggers:** `onPlay` (Event resolves; on a permanent same as `onEnter`), `onEnter`, `onAttack`, `onDestroyed`, `startOfTurn`, `onCombatDamageToPlayer` (on a Figure, or on a Doctrine for its attached Figure), `static`. +- **Ops:** `damage`, `damageEach`, `createToken`, `pump`, `fight`, `draw`, `attach`, `gainLife`, `drain`, `destroy`, `bounce`, `tap`. +- **Targets:** chosen: `figure`, `figureOrLocation`, `ownFigure`, `opponentFigure`, `anyTarget`; automatic: `each`, `self`, `attached`, `ownFigures`, `opponentFigures`, `opponent`, `controller`. Defaults: damage → `anyTarget`, pump → `self`, draw/gainLife/createToken → `controller`, drain → `opponent`. +- **Chosen targets:** each `onPlay`/`onEnter` effect with a chosen target consumes the next entry of `play.targets`, in effect order; `legalActions` enumerates the combinations. An Event or Doctrine with no legal target can't be played; a Figure/Location/Institution enters and its targeted effect fizzles (`targets` omitted). +- **fight:** the previous chosen target in the same card (else the source permanent) and this target deal damage equal to their power to each other. T6 = `[{op:'pump', target:'ownFigure', power:k, toughness:0}, {op:'fight', target:'opponentFigure'}]`. +- **Doctrine:** its `attach` effect's target is the Figure it attaches to (`ownFigure` for T11, `figure` for T12). Its `static` effects with `target: 'attached'` apply to that Figure; `condition.samePortal` on a Doctrine means "other Figures you control of the attached Figure's Portal". When the Figure leaves, the Doctrine is Deleted. +- **static pump** applies while the source is in play; conditions use **printed** power (no feedback loops). `condition.connected` = the affected Figure is Connected to the source (T9). +- **createToken:** `amount` tokens of `token` (a fresh `DuelCard` with `token: true`, uid `t:`); `condition.maxTokens` = only if you control fewer tokens than that. Tokens leaving play cease to exist. +- Triggers resolve immediately: the active player's first, then in entry order. + +## Rules (defaults: `DEFAULT_DUEL_RULESET`; details in DUEL_DESIGN §2) +- 40-card decks (`deckSize`), ≤ 4 per `pageId`, unique `cardId`s, no tokens. 20 Notability. Drawing from an empty library loses (`libraryEmpty: 'lose'`; `'reshuffle'` and `'fatigue'` exist as data). +- Opening hand 7. Up to `mulligans` (1): shuffle in, draw 7, then on `keep` put one card per mulligan on the bottom (the last in hand order). Seat 0 decides first, then seat 1. +- First player (from the seed) skips their first draw. +- **Turn:** refresh (base max +1 to 10, plus Territory ≤ 2; refill; untap; Pending review ends; Stub and `startOfTurn` triggers) → draw → **main** → **attack** → **block** → damage → end (damage and "until end of turn" clear; discard down to `handSize` 7, **highest cost first**, automatically). +- Locations: `locationsPerTurn` (1), can't attack. Garrison Locations (toughness > 0) block as 0-power. +- Combat: attack the opponent only; each blocker blocks one attacker, at most one blocker per attacker; simultaneous damage; destroy triggers after all combat damage. No trample, first strike, stack or instants. +- **Connected** (engine, from `connect`, tiers in `connectedTiers`): Linked (either `links` contains the other's `pageId`, or either `cites` contains the other's `qid`), Compatriot (shared country), Contemporary (shared century, different types), Kin (shared P31, not Q5/Q16521). A Figure gets the single best bonus among other permanents its controller controls: `+linkedBonus` (2) if Linked, else `+connectedBonus` (1). Logged once (`connected`). Opposing Connected pairs are logged once as `rivalry`. +- **Timeouts:** `timeout` passes (mulligan: keep; main/attack: end the turn without attacking; block: confirm current blocks). `timeoutsToConcede` (3) consecutive timeouts by one seat lose (`reason: 'timeout'`). +- `turnCap` (null by default): after that many total turns, higher Notability wins, then higher total power in play, then the second player. + +## Phases and actions +| Phase | Who acts | Listed actions | +|---|---|---| +| `mulligan` | seat 0 until ready, then seat 1 | `keep`, `mulligan` | +| `main` | active | `play {uid, targets?}`, `endPhase` | +| `attack` | active | `toggleAttacker {uid}` (untapped, not Pending review, not yet declared), `confirmAttack` | +| `block` | defender | `block {blocker, attacker}` (unassigned blocker, unblocked attacker, evasion allowing), `confirmBlocks` | +| any | either seat | `concede` (not listed) | +| any | host, for the seat to act | `timeout` (not listed) | + +Declarations are **monotonic** (no un-declare), so every turn has a bounded number of actions; UIs stage choices locally and send them on confirm. If the defender has no legal block, damage resolves at `confirmAttack` with no block phase. `confirmAttack` with no attackers ends the turn. + +## Views and log +- `viewFor(state, seat): PlayerView`: your hand; the opponent's hand and library **sizes** only; both graveyards; the battlefield with current power/toughness, keywords and Connected badge; combat; `toAct`; `version`; `result`. Never the RNG or library order. +- **The seed is secret until the match ends.** `seed` plus the deck lists reproduce every shuffle, so the host never sends `seed` or `rng` (or the raw `DuelState`) to clients before `gameOver`. Live log rendering picks template variants from a derived `storySeed = sha256(seed + ':story')`. +- `state.log` is omniscient (server, and the recap after the match). Clients get **`logFor(state, seat)`**: the opponent's `draw` events have no `card`. Every other event is public information. +- Every event has `seq` and `turn`. `CardRef` carries `uid, cardId, title, pageId, type` plus `power`/`toughness` right after the event. +- Kinds (DUEL_DESIGN §10 names): `start, mulligan, keep, turnStart, draw, deploy, cast, adopt, tokenCreated, connected, rivalry, effect, attack, block, effectDamage, combatDamage, playerDamage, lifeGain, destroyed, bounced, discard, fatigue, concede, timeout, gameOver`. `destroyed` = the recap's casualties. Prose templates live with duel-design / ui-pvp, not in the engine. + +## Host binding +`duelEnginePort` (engine.ts) is structurally an `EnginePort` (`server/game/engine-port.ts`; `shared/` doesn't import `server/`, so host-pvp types it there). `concedeAction`, `timeoutAction`, `turnSeconds`, `turnOf`, `applyLive` included. `starterDeck` and `previewPool` throw: there are no starters (BRIEF decision 2); draft pools come from both players' collections. + +## Stability +These types are the contract for duel-cards, host-pvp, ui-duel, ui-pvp and sim-balance. Additive changes (optional fields, new log kinds) can land with the engine; breaking ones get a `[duel-core] contract change` comment on #55 first. diff --git a/docs/game/DUEL_DESIGN.md b/docs/game/DUEL_DESIGN.md new file mode 100644 index 0000000..fe4d5f3 --- /dev/null +++ b/docs/game/DUEL_DESIGN.md @@ -0,0 +1,279 @@ +# WikiDeck Duel: design v1 + +**Status:** v1.3, Night 2 (2026-11-17): v1 plus night-review's nits on PR #66, duel-cards' implementation choices from PR #70, and the balance v1 rules `secondPlayerCitations` 1 and `turnCap` 40 (#64). Owner: duel-design (issue #60). +**Base:** `docs/night2/BRIEF.md` (Eric's locked decisions). Where this file and BRIEF disagree, BRIEF wins. Reviews used: designer (rules), data §2–4 (derivation), critic S7 (tone). +**Consumers:** duel-core (`shared/duel/` engine and `types.ts`), duel-cards (`classify/derive/effects/text.ts`), sim-balance (bots, `DUEL_BALANCE.md`), ui-duel / ui-pvp (faces, recap), host-pvp (rulesets). + +Every number in this file is a **ruleset key or a derivation table value**, not code. sim-balance tunes them in data-only PRs. + +--- + +## 1. The game in one paragraph +Two players each bring **40 cards they own on-chain**. Each card is a Wikipedia article turned into a Magic-style card by fixed rules over real data. You start at **20 Notability**. Every turn your **Citations** (mana) maximum rises by one. You deploy Figures, attack with them, block with yours, cast Events, adopt Doctrines onto Figures. The first player to 0 Notability, or unable to draw, loses. The match is written up afterwards as an encyclopedic "Battle of X (2026)" page. + +--- + +## 2. Rules + +### 2.1 Decks and eligibility (BRIEF decisions 1–2) +| Key | Default | Rule | +|---|---|---| +| `deckSize` | **40** | Exactly this many cards. Every card is an NFT the player owns (server-verified by `ownership.ts`). No Basics, loaners, proxies or tokens in decks. | +| `maxCopiesPerPage` | **4** | Different mints of the same `pageId` may appear up to 4 times (each mint once: it is unique). | +| colour/Portal rules | none | Any mix of Portals. | +| Eligibility | owns ≥ `deckSize` | Below it, the UI shows "23 / 40 cards" and how to mine. No practice with borrowed cards. Bot matches need eligibility too. | + +Testnet end-to-end mode files may lower `deckSize`. Production stays at 40. + +### 2.2 Setup +- **Notability** (life): `startingLife` **20**. At 0 you lose. +- **Empty library:** drawing from an empty library loses (`libraryEmpty: 'lose'`). +- **Opening hand:** `openingHand` **7**. One mulligan (`mulligans: 1`): shuffle, draw 7, put 1 on the bottom. +- **First player** (seeded coin flip) skips their first draw. +- **Second player** gets +1 Citation maximum on their first turn only (`secondPlayerCitations` **1**). Balance v1: this moved the first-player win rate from 60.1% to 54.4% in 1,500 heuristic-mirror matches (engine 4623930, #64). Neither an extra opening card (washed out by the mulligan and the hand limit) nor `firstPlayerDraws` worked. + +### 2.3 Turn structure: refresh → draw → main → combat → end +1. **Refresh.** Citation maximum +1 (to `maxCitations` **10**), plus Territory (§2.5). Citations refill to the maximum. Your permanents untap. "Pending review" ends for your Figures. Start-of-turn triggers (Stub, Institutions) resolve in the order the permanents entered. +2. **Draw** 1 card. +3. **Main.** Play cards in any order while you can pay their cost in Citations: Figures, Locations (one per turn: `locationsPerTurn` 1), Institutions, Doctrines (attach to a Figure), Events (resolve immediately). +4. **Combat** (§2.4). +5. **End.** Damage on permanents clears. "Until end of turn" effects end. Discard down to `handLimit` **7** (the player chooses; bots discard highest cost first). + +**Zones.** Library and hand are hidden (a hand's size is public). The battlefield and **Deleted** (the graveyard) are **public**: a discarded card is revealed and named once it reaches Deleted. + +There is **no second main phase, no stack, no priority and nothing at instant speed.** Events are sorcery-speed. Triggers resolve immediately, in a fixed order: the active player's first, in the order the cards entered. + +### 2.4 Combat +- **Attack:** the active player chooses any untapped Figures without Pending review and taps them. They attack the opponent only, never permanents. +- **Block:** the defender assigns **at most one blocker per attacker**, and each blocker blocks one attacker. Untapped Figures and Garrison Locations may block. Evasion (Featured) restricts who may block: **a Garrison Location can't block a Featured attacker** (only Featured, Translated or Multilingual Figures can). +- **Damage:** simultaneous. A blocked pair deal their power to each other. An unblocked attacker deals its power to the defending player's Notability. +- A permanent with damage ≥ toughness is **destroyed** (goes to the Deleted pile, the graveyard). Destroy triggers (Legacy) fire after all combat damage. +- No trample, no first strike, no deathtouch, no lifelink in v1. + +### 2.5 Card types (BRIEF; classifier in data §1, built by duel-cards) +| Type | MTG analogue | Rules | +|---|---|---| +| **Figure** | creature | Power/toughness. Enters with **Pending review** (summoning sickness): can't attack until your next turn. | +| **Location** | land-ish permanent | Cost `ceil(derivedCost/2)` (1–3). **Territory:** +1 Citation maximum while you control it; at most **+2 in total** from Territory (`territoryCap` 2). **Garrison 0/T:** can block like a 0-power Figure (T = 1 + floor(pct_depth / 25), so 1–4). Can't attack. Damage clears at end of turn as usual; a Location destroyed in a block goes to Deleted. One per turn. | +| **Event** | sorcery | Resolves at once, then goes to Deleted. | +| **Institution** | artifact | A permanent with a static or triggered ability. | +| **Doctrine** | Aura | **Adopt:** attach to target Figure (yours or the opponent's for negative Doctrines). If the Figure leaves play, the Doctrine goes to Deleted. | + +Classification order (duel-cards owns it): P31 → P279 anchor classes → P31 label regex (`^human$`, fixing the `\bhuman\b` bug) → categories → description → **Doctrine**. The derived profile is **frozen** the first time a card is seen. + +### 2.6 Clock and length +- `turnSeconds` **60** per turn plus `bankSeconds` **300** per player. The turn timer runs first; when it expires, the player's bank drains; when the bank is also empty, the turn passes (`timeout` action). The bank does not refill. Three timeouts in a row concede. +- **`turnCap` 40** (20 turns each, balance v1). At the cap the higher Notability wins, then the higher total power in play, then the second player. In sims it decides about 4% of games and removes every game past 20 turns each, without moving the median. +- **Sim targets** (agreed with sim-balance, #64): median 8–12 turns each; first-player win rate 48–54%; < 5% of games past 20 turns each. **Balance v1 result** (`secondPlayerCitations` 1 + `turnCap` 40; 3,000 heuristic-mirror matches, engine 4623930, duel-cards 067de83; run by ui-duel for sim-balance, #64): first player **54.7%** [53–57], turns each 6 / 8 / 12, 0% past 20, about 8 minutes median. + +### 2.7 Determinism +All randomness (shuffles, coin flip, template variants) comes from the match seed via `shared/game/rng.ts`. The same seed and actions always replay to the same state, log and recap. + +--- + +## 3. Derivation summary (duel-cards implements; data §2) +- **Percentiles** `pct_a`, `pct_d`, `pct_r` from the sample cut points (DESIGN.md §1.1 counting). **fame** = mean of the three, rounded. +- **Cost** 1–6 by `costThresholds` [26, 39, 51, 63, 78]. +- **Figure body budget** P+T = [3, 4, 6, 8, 10, 12] for cost 1–6 (MTG vanilla curve). Subtract **1 per taxed keyword** (§4). At cost 1, a second taxed keyword is skipped, so a body never drops below 1/1. Then `power = clamp(round(budget × pct_a / (pct_a + pct_d)), 1, budget − 1)`, toughness = the rest. Famous cards are bigger and pricier, never more efficient. +- **Magnitude** for non-Figures: `k = ceil(cost / 2)` (1–3). +- **Portal** (faction): Arts, Earth, History, Science, Society, or Neutral, scored by regex hits (designer §3.2); ties go to the type default (Figure → Society, Location → Earth, Event → History, Institution → Arts, Doctrine → Science). No deckbuilding restriction. +- **Flavour text:** first sentence of on-chain `article.extract`; if absent (the sample has none), the Wikidata `description`; if that is empty too, none. + +--- + +## 4. Keywords (10) +Eight card keywords, each triggered only by real data and applied **to Figures only**, at most **2 per card** in the priority order below. Plus two rules keywords. Thresholds are measured on the 236-card sample (86 Figures); sim-balance may move them. + +| # | Keyword | Trigger (real data) | Rules text | Body tax | Rate among Figures | +|---|---|---|---|---|---| +| 1 | **Protected** | category `Living people` | Can't be the target of Events or Doctrines an opponent controls. | 1 | 38% | +| 2 | **Featured** (flying) | pct_attention ≥ 85 | Can't be blocked except by Featured, Translated or Multilingual Figures. | 1 | 15% | +| 3 | **Legacy** | a ` deaths` category (or P570 in the frozen profile) | When this is destroyed, draw a card. | 1 | 33% | +| 4 | **Multilingual** | pct_reach ≥ 90 | Can block Featured Figures. Can't be blocked by Local Figures. | 1 | ~5% | +| 5 | **Translated** (reach) | 75 ≤ pct_reach < 90 | Can block Featured Figures. | 0 | 19% | +| 6 | **Well-sourced** | pct_depth ≥ 85 | Prevent the first 1 damage that would be dealt to this each turn. | 1 | ~13% before cap | +| 7 | **Stub** | pageBytes < 3000 or a `…stubs` category | At the start of your turn, put a +1/+1 counter on this, to a maximum of 2. | 0 | 33% | +| 8 | **Local** | raw reach = 0 (no other language editions) | Gets +1/+1 while you control a Compatriot Location (same P17). | 0 | 7% before cap | +| 9 | **Connected** | the card pair's frozen claims and links (§6) | +1/+1 while you control another card Connected to it; +2/+2 if Linked. | – | target 15–30% of pairs | +| 10 | **Trending** (haste) | Trending mode only: frozen live ▲ (trend ≥ +25% and daily ≥ 20) | Can attack the turn it enters. Gets +1/+0. | – | ~2% of cards | + +Rule words that are not keywords: **Pending review** (summoning sickness), **Territory**, **Garrison**, **Adopt**, **Deleted** (the graveyard). + +Notes: +- Protected deliberately sits first: living people are the most targeted, and the rule that matters most for them is mechanical, not a tone rule. It doesn't stop combat. +- Multilingual and Translated are two bands of the same reach axis, so a card never has both. +- A card's face shows at most 2 keyword words; the reminder text is behind a tap. + +--- + +## 5. Effect templates (12, MTG register) +Subtype regexes run over the frozen P31/P279 labels, then the description, then categories. First match wins, in the order listed. `k = ceil(cost/2)`. + +| # | Type / subtype | Trigger regex (labels, description) | Rules text | +|---|---|---|---| +| T1 | Figure | (all Figures) | Vanilla body + keywords. No other text. | +| T2 | Location | (all Locations) | Territory. Garrison 0/T. | +| T3 | Event: conflict | `battle\|war\|siege\|annexation\|protest\|riot\|uprising\|massacre\|coup` | Deal k+1 damage to target Figure or Location. | +| T4 | Event: disaster | `storm\|nor.easter\|cyclone\|hurricane\|earthquake\|flood\|tornado\|wildfire\|eruption\|famine\|epidemic` | Deal k−1 damage (minimum 1) to each Figure and each Location. | +| T5 | Event: election | `election\|referendum\|straw poll` | Create k 1/1 Society Figure tokens named Elected Member. | +| T6 | Event: sport | `match\|final\|season\|tournament\|championship\|grand prix\|race` | Target Figure you control gets +k/+0 until end of turn, then fights target Figure you don't control. | +| T7 | Event: default (period, ceremony, scandal, other) | anything else | Draw k cards. | +| T8 | Institution: organisation | `company\|organi[sz]ation\|party\|agency\|studio\|military\|university\|diocese\|council\|band\|musical group\|association\|business\|school\|college\|institute\|manufacturer` | Cost ≥ 4: "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member." Cost ≤ 3: "When this enters, create a 1/1 Figure token named Staff Member." | +| T9 | Institution: creative work | `film\|album\|song\|book\|novel\|series\|video game\|painting\|software\|typeface\|newspaper\|magazine` | When this enters, draw a card. Figures you control that are Connected to this get +1/+1. | +| T10 | Institution: team, award, vehicle, other | anything else | Figures you control with power 2 or less get +1/+0. | +| T11 | Doctrine: Adopt | (all non-Pathology Doctrines) | Attach to target Figure you control. It gets +k/+k. Rider by subtype, checked in the order pathology (→ T12) > language/software > mathematics, so "functional programming language" is not maths: mathematics → "and has Well-sourced"; language/software → "Whenever it deals combat damage to a player, draw a card"; ideology/religion → "Other Figures you control of its Portal get +1/+0"; otherwise none. | +| T12 | Doctrine: Pathology | `disease\|clinical sign\|pathogen\|syndrome\|disorder\|toxin\|poison` | Attach to target Figure. It gets −k/−k. | + +Elected Member tokens are Society; Staff Member tokens have no Portal ("1/1 Figure token"). Tokens are not cards: they never appear in decks, are created only by T5/T8, and are removed when they leave play. Token names are fixed generic strings, never real people. + +Rules-text style: +- Second person, present tense, MTG terse register: "Deal 3 damage to target Figure." +- Card names appear in rules text only as "this" (never the article title), so text stays the same length on a 360 px face. +- No adjectives, no puns, no exclamation marks. + +--- + +## 6. Connected (data §4 tiers) +Computed by the host at match start from frozen card profiles. No network calls during a match; the edge list is written into the match record. + +| Tier | Test | Bonus | Cut order | +|---|---|---|---| +| **Linked** | either article links to the other (cached outlinks), or one card's claims cite the other's Q-id | +2/+2 | keep | +| **Compatriot** | share a P17 (country) or P27 (citizenship) value | +1/+1 | keep | +| **Contemporary** | same century from P569/P570/P571/P580/P585, **only between different types** | +1/+1 | cut 4th (BRIEF) | +| **Kin** | same P31 class, excluding Q5 human and Q16521 taxon | +1/+1 | cut 4th (BRIEF) | + +- A Figure gets the **single best** bonus among its Connected cards you control (no stacking): +2/+2 if any is Linked, else +1/+1. +- A Connected creative-work Institution (T9) gives its +1/+1 on top. +- **Target:** 15–30% of random card pairs connected (text proxies measured 21.5% for country OR century). If sims show more, drop the noisiest keys first (P17 = United States, then France); if fewer, add P131. +- The card shows why: "Connected — *Pathrail Mosque* (country: Bangladesh)". +- **Rivalry** (log only): when two opposing cards are Connected, the log may note it once (§8.3). No mechanical effect. + +--- + +## 7. Modes (on the duel engine) +| Mode | Decks | Notes | +|---|---|---| +| **Classic** | constructed from your own 40+ owned cards | Ranked (Elo, keyed to the eom.dev account). Invite links and quick match. | +| **Bot** | your own 40 | Only for eligible players. Not ranked. | +| **Draft** | both players eligible | Pool drawn from both players' collections (e.g. 30 cards from each, shuffled into one pool). Snake-pick until each has `deckSize`. Drafted cards are used for that match only; nothing moves on-chain. Ownership is credited in the recap ("from the collection of bob"). | +| **Trending** | any | Live pageview trend from the daily cache, frozen at match start: ▲ (≥ +25%, daily ≥ 20) gives Trending (haste, +1/+0); ▼ (≤ −50%, daily ≥ 20) gives −1/−0. Cut 3rd. | +| **House rules** | peer-hosted | Data-only, versioned schema. Keys: `deckSize`, `maxCopiesPerPage`, `startingLife`, `openingHand`, `mulligans`, `maxCitations`, `territoryCap`, `handLimit`, `turnSeconds`, `bankSeconds`, `turnCap`, `secondPlayerCitations`, `connectedTiers`, `keywordThresholds`. Night 1 mode files are rejected cleanly with a message. | + +--- + +## 8. Tone and story text + +### 8.1 Tone rules (BRIEF decision 5, critic S7) +1. **Lean in.** Living people, tragedies, wars, disasters, crimes, diseases and dictators are ordinary cards with full mechanics. No `solemn` flags, no special cases, no softened verbs. "Casualties" is fine. A protester shot in 1970 is a 6/3 with Legacy like anything else. +2. **Deadpan.** The text takes itself completely seriously. It **never winks** and **never comments on the matchup** ("in a surprising twist", "unlikely", "ironically" are banned). The comedy lives in the nouns: "*Heart rot* was adopted by *Tom Ewell*." +3. **Encyclopedic texture.** Past tense, third person, passive where Wikipedia would use it, dates and turn numbers, and `[n]` citations linking each card's real article at its revision. +4. **No adjectives about cards or players** (no "brutal", "heroic", "humiliating", "bloodiest"). Mechanical verbs only: deployed, attacked, blocked, was destroyed, was adopted by, took N damage, was cited. +5. **Never invent facts about real people.** All generated text is a deterministic template filled **only** with real card data (title, description, dates, categories, revision id) and real match data (turn, players, numbers). No LLM prose. No made-up quotes, crimes, acts, motives or feelings. The template verbs describe **game events of the card**, and every narrative paragraph is framed as a WikiDeck engagement; the footer says so. +6. **Allowed real data in text:** title, Wikidata `description`, birth/death years parsed from the description or frozen claims, the first extract sentence (flavour), Portal, type. Nothing else about a person. +7. **Dull guard:** 3–4 synonymous variants per event, chosen by the match seed (§8.2). + +| DO | DON'T | +|---|---| +| "Turn 6. *Zbyszek Godlewski* (6/3) attacked. *Pallas's cat* (5/5) blocked. *Zbyszek Godlewski* was destroyed.[3][4]" | "Godlewski got mauled by a cat lol" | +| "The *April 2021 nor'easter* dealt 1 damage to each Figure. *Dichromorpha viridis* was destroyed.[5][6]" | "Mother Nature wiped out the poor grasshopper!" | +| "*Heart rot* was adopted by *Tom Ewell*, which became a 2/2.[7][8]" | "Ewell caught a tree disease, how embarrassing" (adjective + invented claim) | +| "The **Battle of Pathrail Mosque (2026)** was a WikiDeck engagement fought on 17 November 2026 between the forces of alice and bob." | "the bloodiest battle in WikiDeck history" | + +### 8.2 Match-log templates (`shared/duel/story/log.ts`) +- One template group per engine `LogEvent` kind, each with **3–4 variants**. Variant = `rng(seed, turn, eventIndex) mod n`, using the match seed, so `replay` regenerates the log exactly. +- First mention of a card in a match adds its description in parentheses: "*Tom Ewell* (American actor, 1909–1994)". Later mentions use the title only. +- Each first mention of a card assigns it the next reference number `[n]`; later mentions reuse it. +- `logFor(seat)` hides the opponent's hand: their draws read "bob drew a card." and mulligans are not named. Discards are named, because Deleted is public (§2.3). + +| Event | Variants (`{card}` italic, `{player}` the seat name) | +|---|---| +| deploy (Figure/Location/Institution) | "{player} deployed {card}." · "{card} was deployed by {player}." · "{player} brought {card} into play." · "{card} entered play under {player}." | +| event cast | "{player} cited {card}." · "{card} was cited by {player}." · "{player} invoked {card}." | +| adopt | "{doctrine} was adopted by {figure}, which became a {p}/{t}." · "{figure} adopted {doctrine} and became a {p}/{t}." · "{player} attached {doctrine} to {figure} ({p}/{t})." | +| attack | "{card} ({p}/{t}) attacked." · "{player} sent {card} ({p}/{t}) into combat." · "{card} ({p}/{t}) advanced on {opponent}." | +| block | "{blocker} ({p}/{t}) blocked {attacker}." · "{attacker} was blocked by {blocker} ({p}/{t})." · "{blocker} ({p}/{t}) intercepted {attacker}." | +| player damage | "{opponent} lost {n} Notability ({life} remaining)." · "{card} dealt {n} damage to {opponent}, leaving {life} Notability." · "{opponent}'s Notability fell to {life}." | +| destroyed | "{card} was destroyed." · "{card} was moved to Deleted." · "{card} was removed from play." · "{card} did not survive the turn." | +| effect damage | "{source} dealt {n} damage to {target}." · "{target} took {n} damage from {source}." · "{source} inflicted {n} damage on {target}." | +| token created | "{source} produced {n} {token}." · "{n} {token} were created by {source}." · "{source} created {n} {token}." | +| draw (own) | "{player} drew {card}." · "{card} was drawn." · "{player} added {card} to their hand." | +| draw (hidden) | "{player} drew a card." · "{player} drew {n} cards." | +| Connected | "{a} and {b} were Connected ({reason})." · "{a} was Connected to {b} through {reason}." · "Records link {a} and {b} ({reason})." | +| discard | "{player} discarded {card}." · "{card} was discarded by {player}." · "{player} moved {card} from hand to Deleted." | +| rivalry (opposing Connected pair, once) | "{a} and {b} are both listed under {reason}." · "{a} and {b} share {reason}." · "The two sides were linked through {reason}." | +| turn start | "Turn {n}." (fixed) | +| game over | "{loser} was nominated for deletion. The result was **delete**." · "{loser} was reduced to 0 Notability. {winner} won." · "{winner} won on turn {n}." · (library) "{loser} could not draw a card and lost." · (concede) "{loser} withdrew." | + +### 8.3 Battle recap (`shared/duel/story/recap.ts`) +A deterministic function `recap(matchRecord) → RecapDoc` (structured data; ui-pvp renders it). Inputs are the match record only: seed, players, decks' frozen card profiles, the event list, the date. No network, no clock. + +**Title:** "{Prefix} {Name} ({year})" +- **Name:** the winner's highest-cost Location that entered play; else the loser's; else the highest-cost Event cast in the match; else the winner's highest-cost card deployed; ties broken by first played. Living people and tragedies are eligible like any card ("Battle of Zbyszek Godlewski (2026)" is valid). +- **Prefix:** "Skirmish at" (≤ 6 turns each), "Battle of" (7–12), "Siege of" (≥ 13). For a Figure name: "Battle of" becomes "{Name} campaign" (no prefix). +- **Year:** the match date's year (2026). + +**Infobox:** +| Field | Value | +|---|---| +| Date | the match date, "17 November 2026" | +| Location | the Name card if it's a Location, else "WikiDeck host {hostName}" | +| Result | "Decisive {winner} victory" (margin ≥ 10 Notability) · "Pyrrhic {winner} victory" (winner ≤ 3) · "{winner} victory" · "{winner} victory by withdrawal" (concession/timeout) · "{winner} victory by attrition" (empty library) · "Victory by decision" (turn cap) | +| Belligerents | the two seat names (account display names) | +| Commanders | each side's highest-cost Figure deployed | +| Strength | cards deployed per side ("14 cards") | +| Casualties and losses | cards destroyed per side, count, then the titles | + +**Sections:** +1. **Lead** (1 paragraph): "The {title} was a WikiDeck engagement fought on {date} between the forces of {a} and {b}. It lasted {n} turns and ended in {result-lowercase}.[1]" + one sentence on the first Figure deployed: "Contemporary accounts note the deployment of {card} in the {ordinal} turn.[n]" +2. **Background:** each side's Portal mix ("History was the largest Portal in the force of alice (eleven of twenty cards played)"). +3. **Course of the battle:** the 3–5 largest Notability swings and every destroyed card with cost ≥ 4, in turn order, as log sentences (variants from §8.2, but seeded with `seed ⊕ 'recap'` so the recap doesn't repeat the log word for word). +4. **Aftermath:** final Notability, turns, rating change if ranked. +5. **See also:** Connected pairs and rivalries. +6. **References:** every card played by either side, in first-mention order: "{n}. ^ "{title}". Wikipedia. Revision {revisionId}. Minted as token {tokenId}." linking `https://en.wikipedia.org/w/index.php?title={title}&oldid={revisionId}`. + +**Branding and footer:** WikiDeck masthead, never the Wikipedia/Wikimedia name or logo. Footer: "This page records a WikiDeck match. Card names refer to Wikipedia articles; the events described are game events." Shareable at `/recap/{matchId}`. + +--- + +## 9. Worked examples (12 cards from `docs/game/card-sample.json`) +Computed with the rules above (data §2 budget, §4 keyword priority, §5 templates) by a script over the sample, and checked by hand. duel-cards' implementation (PR #70) agrees on all 12, with the two Portal corrections now applied (#9, #11). Flavour is the `description` because the sample has no extracts. Final numbers come from duel-cards' implementation; if they differ, the implementation and its golden test win and this table is updated. + +| # | Card | Derivation | Card | +|---|---|---|---| +| 1 | **Marc Fesneau** (living person) | P31 human → Figure. "politician" → Society. pct 76/68/63 → fame 69 → cost 5, budget 10. Living people → Protected (−1) → 9 split 76:68 → 5/4. | **Marc Fesneau** · 5 · Figure — Society · **5/4** · *Protected.* "French politician (born 1971)." | +| 2 | **Tom Ewell** | human → Figure, Arts. 94/83/93 → fame 90 → cost 6, budget 12. Featured (−1), Legacy (−1); Multilingual dropped by the cap. 10 → 5/5. | **Tom Ewell** · 6 · Figure — Arts · **5/5** · *Featured. Legacy.* "American actor (1909–1994)." | +| 3 | **Zbyszek Godlewski** (killed at a 1970 protest) | human → Figure, History. 77/48/78 → fame 68 → cost 5. Legacy (1970 deaths, −1), Translated (pct_r 78, 0). 9 split 77:48 → 6/3. | **Zbyszek Godlewski** · 5 · Figure — History · **6/3** · *Legacy. Translated.* "Polish protester (1952–1970)." | +| 4 | **Pallas's cat** | taxon → Figure, Earth. 99/97/99 → fame 98 → cost 6. Featured (−1), Multilingual (−1); Well-sourced dropped. 10 → 5/5. | **Pallas's cat** · 6 · Figure — Earth · **5/5** · *Featured. Multilingual.* "Species of small wild cat." | +| 5 | **Dichromorpha viridis** | taxon → Figure, Earth. 58/3/53 → fame 38 → cost 2, budget 4. Stub (1,347 bytes, untaxed). Split clamps to 3/1. | **Dichromorpha viridis** · 2 · Figure — Earth · **3/1** · *Stub.* "Species of grasshopper." | +| 6 | **Monoid** (maths) | no P31; category "Algebraic structures" → Doctrine, Science. fame 96 → cost 6, k = 3. Maths rider. | **Monoid** · 6 · Doctrine — Science · Attach to target Figure you control. It gets +3/+3 and has Well-sourced. "Algebraic structure with an associative operation and an identity element." | +| 7 | **Heart rot** (disease) | P31 plant disease → Doctrine, Pathology (T12). Science. fame 68 → cost 5, k = 3. | **Heart rot** · 5 · Doctrine — Science · Attach to target Figure. It gets −3/−3. "Fungal disease of trees." | +| 8 | **April 2021 nor'easter** (disaster) | P31 nor'easter → Event, disaster (T4). Earth. fame 50 → cost 3, k = 2. | **April 2021 nor'easter** · 3 · Event — Earth · Deal 1 damage to each Figure and each Location. "Slow-moving nor'easter in April 2021." | +| 9 | **2025 Tehreek-e-Labbaik Pakistan protests** (conflict) | P31 protest → Event, conflict (T3). Society (protest/riot hits outnumber "war"). fame 64 → cost 5, k = 3. | **2025 Tehreek-e-Labbaik Pakistan protests** · 5 · Event — Society · Deal 4 damage to target Figure or Location. "Gaza war protests in Pakistan." | +| 10 | **1954 Gold Coast general election** | P31 legislative election → Event, election (T5). Society. fame 45 → cost 3, k = 2. | **1954 Gold Coast general election** · 3 · Event — Society · Create two 1/1 Society Figure tokens named Elected Member. *(no flavour: empty description)* | +| 11 | **Pathrail Mosque** | P31 mosque → Location, Society ("mosque" hits in P31, the description and two categories outnumber 15th-century + Sultanate). fame 49 → cost 3 → Location cost 2. pct_d 54 → Garrison 0/3. | **Pathrail Mosque** · 2 · Location — Society · Territory. Garrison 0/3. "Mosque in Faridpur, Bangladesh." | +| 12 | **Tatsunoko Production** | P31 animation studio → Institution, organisation (T8). Arts. fame 93 → cost 6. | **Tatsunoko Production** · 6 · Institution — Arts · At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member. "Japanese animation studio." | + +Interactions these cards show: +- *Heart rot* on *Marc Fesneau* is illegal (Protected stops opponents' Doctrines). On *Tom Ewell* it makes a 2/2 Featured Legacy. +- *Monoid* on *Dichromorpha viridis* makes a 6/4 Well-sourced Stub that keeps growing to 8/6. +- *April 2021 nor'easter* destroys *Dichromorpha viridis* and both Elected Members, and leaves *Pathrail Mosque* at 0/3 with 1 damage. +- *Pathrail Mosque* and *2025 Tehreek-e-Labbaik Pakistan protests* are not Compatriots (Bangladesh vs Pakistan); *Pathrail Mosque* and *Zbyszek Godlewski* are not Contemporary (15th vs 20th century). + +Sample log: +> Turn 5. alice deployed *Zbyszek Godlewski* (Polish protester, 1952–1970).[1] +> Turn 6. bob cited the *April 2021 nor'easter* (Slow-moving nor'easter in April 2021).[2] The *April 2021 nor'easter* dealt 1 damage to *Zbyszek Godlewski*. +> Turn 7. *Zbyszek Godlewski* (6/3) attacked. *Pallas's cat* (5/5) blocked *Zbyszek Godlewski*.[3] *Zbyszek Godlewski* was destroyed. alice drew a card. + +--- + +## 10. Hand-offs +- **duel-core:** §2 rules and ruleset keys; `LogEvent` kinds needed by §8.2 (deploy, cast, adopt, attack, block, playerDamage, destroyed, effectDamage, tokenCreated, draw, connected, turnStart, gameOver with reason `life|library|concede|timeout|turnCap`). Each event carries card ids, P/T after the event, and Notability where relevant. +- **duel-cards:** §3 derivation, §4 thresholds and priority, §5 templates T1–T12, §6 tiers; the §9 table as golden tests. +- **sim-balance:** §2.6 targets; tune `keywordThresholds`, `connectedTiers`, T4's k−1, the Stub cap and the T8 token rate; report the first-player win rate and the cost-6 dominance check. +- **ui-pvp:** renders `RecapDoc` from §8.3. + +## 11. Open questions for the sim (not blockers) +1. Disaster T4 at k−1 may be weak against 40-card boards; try k. +2. Stub at +2 counters on cheap bodies may be too strong (33% of Figures); try max 1. +3. **Locations (balance v1 finding):** Location-heavy decks win ~20% and Locations are the weakest cards. `territoryCap` 3, `locationsPerTurn` 2 and `garrisonStep` 15 move them ±3 points at most. Tested and **rejected for v1**: a T2 rider "When this enters, draw a card". It lifts the Location card (47 → 52%) but not Location-heavy decks (18 → 17%), pushes the first player back to 58.4%, and brings back library-out losses. Open for v1.1: a lever that helps Location-heavy decks without extra card flow, e.g. Territory that scales (+1 Citation per two Locations) or Garrison Locations that can block Featured. diff --git a/docs/game/HOSTING.md b/docs/game/HOSTING.md index d736c33..8c2713b 100644 --- a/docs/game/HOSTING.md +++ b/docs/game/HOSTING.md @@ -18,12 +18,13 @@ A mode is a JSON document, at most 8 KiB: ```json { - "schema": "wikideck.mode/1", + "schema": "wikideck.mode/2", "id": "trending", "version": 1, "name": "Trending", "description": "Live Wikipedia pageview trends power cards up or down.", "tags": ["live-data"], + "engine": "editwar", "rules": { "trendUp": 25, "trendDown": -25 }, "cards": { "preset": "trending", "percentPerPoint": 25, "maxBonus": 3, "penalise": true }, "decks": { "kind": "starter" }, @@ -33,12 +34,14 @@ A mode is a JSON document, at most 8 KiB: | Field | Meaning | |---|---| +| `schema` | `wikideck.mode/2`. Night 1 documents (`wikideck.mode/1`) are rejected with a message saying what to change. | +| `engine` | Required: `editwar` (the Night 1 simultaneous-reveal game, `shared/game`) or `duel` (the Night 2 Magic-style duel, `shared/duel`). Duel modes only allow `constructed` and `draft` with `source: "collections"`: every card is one the players own. | | `id`, `version` | Lowercase slug and a version integer. Bump `version` whenever the rules change, so old match records and leaderboards stay attributable (`#@`). | | `name`, `description`, `tags` | Plain text only: no control characters or `<` `>`. | | `rules` | **Overrides** on top of the engine's `DEFAULT_RULESET` (see `docs/game/ENGINE_API.md`). Objects merge one level deep; arrays and numbers replace. The merged result then goes through the engine's strict `parseRuleset`, so the engine alone decides what's legal (bounded turns, Topics, deck sizes, known keywords and portals only; see DESIGN.md §9 for the keys). | | `cards` | A card-mapping **preset** from a fixed list. `standard` leaves cards as dealt. `live` freezes each card's live trend arrow (DESIGN §1.6, using the ruleset's `trendUp`/`trendDown`) at match start. `trending` does the same and also adds a bounded power bonus from the live pageview trend. The mode only picks a preset and tunes its bounded numbers. | -| `decks` | `starter` (everyone gets a seeded starter deck), `draft` (snake draft from a host-seeded pool of preview cards) or `constructed` (bring your own; see "Not yet" below). | -| `limits` | Concurrency and lobby expiry for this mode on this host. `turnSeconds` only applies to engines without their own turn timer; with tonight's engine, the ruleset's `turnSeconds` (plus 5 s network grace) is the timer. | +| `decks` | `constructed` (each player submits exactly `deckSize` NFT token ids they own; the host verifies ownership and confirmations on the chain, `minConfirmations` default 1, and builds every card from its block), `starter` (Edit War only: a seeded starter deck) or `draft` (snake draft; `source: "preview"` uses preview cards, Edit War only; `source: "collections"` pools both players' owned cards for that match only, and both must own at least `deckSize`). | +| `limits` | Concurrency and lobby expiry for this mode on this host. `rated: true` moves Elo (start 1200, K 24) when both seats are eom.dev accounts; `accountsOnly: true` refuses guest seats (owned-card modes always do). `turnSeconds` only applies to engines without their own turn timer; with tonight's engine, the ruleset's `turnSeconds` (plus 5 s network grace) is the timer. | The schema is strict: unknown fields are rejected, as are prototype keys (`__proto__`, `constructor`, `prototype`) anywhere in the document, nesting deeper than two @@ -46,6 +49,15 @@ levels inside `rules`, more than 48 rule keys, and oversized strings and arrays. **never** evaluates, imports or runs anything another peer sends. Nothing in a mode can name a file, a URL, a script or a function. +### Seats, invites, quick match and polling (Night 2) + +- **Seats:** `POST /modes/:id/lobbies`, `POST /lobbies/:id/join` and `POST /modes/:id/quick` take `{idToken, deck?, private?}` for an eom.dev account (the Dex ID token may also be sent as `Authorization: Bearer `), or `{name, secret}` for a guest in Edit War modes. The reply is `{lobbyId, seat, token, invite, playerId}`; `token` is the seat bearer for every later call. Account player ids are `sha256("acct:" + iss + "\n" + sub)`. +- **Invites:** every lobby gets a 12-character `invite` code. `private: true` hides it from `/lobbies` and quick match. `GET /invites/:code` describes it and `POST /invites/:code/join` joins it (SPA link: `/play/invite/`). +- **Quick match:** `POST /modes/:id/quick` joins the oldest open public lobby someone else opened (`matched: true`), or opens one (`matched: false`) to poll. +- **Polling:** every lobby view has a `version`. `GET /lobbies/:id?v=` answers **204** while nothing changed. Poll; never hold requests open (the node caps concurrent `/api` requests). +- **Ladder:** `GET /modes/:id/ladder` (same as `/leaderboard`): entries carry `rating` (Elo, or null if unrated) plus W/L/D. +- **Records:** `GET /matches/:id` has the seed, rules, both decks (as the engine cards), every action, `engine`, `rated`, and for constructed modes `tokens` (the NFT ids each seat played), so the recap can replay the match. + ## 2. Running your own modes Configure modes with environment variables on your node: @@ -255,10 +267,9 @@ be pinned in consensus. ## Not yet -- `constructed` decks of **owned NFTs**: the policy exists, but tonight the host deals - starter decks for it. Playing with your own cards needs a wallet-signed ownership proof - for the lobby (and then the engine's `cardFromStats`). That's a follow-up once accounts and - wallet linking (#7) settle. +- `constructed` decks of **owned NFTs** are verified on the hosting node only, against its + own account store (Night 2). Playing them on a *peer* needs a wallet-signed deck claim, + because accounts are per node; that's a follow-up. - `trending` never calls Wikipedia when a match starts. The node warms a cache-only trend store in the background, one page every 20 s (configurable, never faster than 15 s), through its existing enrichment cache (6 h TTL), starting with the preview-card pages. A card whose page isn't warm yet gets no bonus. This diff --git a/docs/game/OWNERSHIP_API.md b/docs/game/OWNERSHIP_API.md new file mode 100644 index 0000000..0a03096 --- /dev/null +++ b/docs/game/OWNERSHIP_API.md @@ -0,0 +1,73 @@ +# Ownership and collection API (Night 2, #57) + +Server-side checks that a player owns the cards they play. Off-chain only: nothing here moves, burns or locks a card, and nothing changes consensus. + +## The rules (ruleset data) + +| Key | Default | Meaning | +|---|---|---| +| `deckSize` | 40 | A constructed deck has exactly this many cards. A testnet mode file may lower it. | +| `maxCopiesPerPage` | 4 | The MTG-style copy limit. Cards minted from the same Wikipedia `pageId` are separate cards, but at most this many go in one deck. | +| `minConfirmations` | 1 | The confirmations each card's mint block needs. Rated play uses `RATED_MIN_CONFIRMATIONS` = 3. | + +## `server/game/ownership.ts` (used by the PvP host) + +```ts +verifyAccount(deps, idToken: unknown): Promise +resolveDeck(deps, account, tokenIds: unknown, opts?: Partial): Promise +collection(deps, account, opts?: { minConfirmations?: number }): Promise +``` + +- **`deps`** is `{ ledger, accounts, verifyIdToken }`. In production, `server/testnet/http.ts` builds it from the node's `Ledger`, the shared `AccountStore`, and `accountVerifier()` from `server/account/router.ts`. It passes the result to `gameRouter({ ownership })`. +- **`resolveDeck`** accepts token ids only, never card JSON. For each card it checks: + - the card is on the canonical chain (`ledger.nft()`); + - its current owner (after transfers) is one of the account's linked wallets; + - it has enough confirmations; + - the deck size and copy limit. + + Each card is rebuilt from its own block (`article` and `statsSnapshot`). The cards come back in the order given. +- **Errors** are thrown as `DeckError { code, status, tokenIds, pageId? }`. `tokenIds` lists every offending card of that class. + + | `code` | `status` | + |---|---| + | `auth` | 401 | + | `size` | 400 | + | `duplicate-token` | 400 | + | `unknown-token` (not on chain, or malformed) | 400 | + | `not-owned` (includes "no linked wallet") | 403 | + | `unconfirmed` | 400 | + | `copy-limit` | 400 | + + `OwnershipUnavailable` (503) means Dex is unreachable or the chain tip kept moving during a read. +- **`collection`** pages `ledger.deck()` (24 per page) across every linked wallet at one canonical tip, restarting if the tip moves. There is no 128-block snapshot cap. + +## `GET /api/game/collection` + +`Authorization: Bearer ` (the same token as `/api/account/me`). Optional: `?minConfirmations=N`. + +```ts +{ + tip, wallets: string[], + deckSize: 40, copyLimit: 4, maxCopiesPerPage: 4, minConfirmations: 1, + owned: number, // confirmed cards across all linked wallets + playable: number, // Σ min(copies, copyLimit) per pageId + needed: number, // max(0, deckSize - playable) + eligible: boolean, // playable >= deckSize + cards: ChainCard[] // tokenId, owner, confirmations, pageId, title, revisionId, url, extract, imageUrl?, + // height, blockHash, createdAt, powHash, article, statsSnapshot +} +``` + +| Case | Response | +|---|---| +| No linked wallets | 200 with `cards: []` and `needed: 40` | +| Missing or invalid token | 401 | +| Dex unreachable | 503 | +| Bad query | 400 | + +The UI shows `playable / deckSize`, for example "23 / 40 cards", and how to mine. + +## Not covered (known gaps) + +- **Peer hosts.** Account stores are per node, and a Dex token sent to a peer could be replayed elsewhere (engineer review §2, G6). This API is for the self-hosted node only. The stretch fix is a wallet-signed deck claim. +- **Plausibility of minted stats** (G5): `pageId` → `title` and `revisionId` → `size` are not cross-checked yet. diff --git a/docs/game/duel-card-sample.json b/docs/game/duel-card-sample.json new file mode 100644 index 0000000..a82bd43 --- /dev/null +++ b/docs/game/duel-card-sample.json @@ -0,0 +1,10821 @@ +{ + "source": "docs/game/card-sample.json", + "deriveVersion": "duel-derive-1", + "count": 236, + "cards": [ + { + "cardId": "0000000000000000000000000000000000000000000000000000000000851c64", + "pageId": 8723556, + "revisionId": 1358732737, + "title": "Salahuddin of Aceh", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Sultan of Aceh (1530–1537/9)", + "connect": { + "countries": [ + "Indonesia" + ], + "centuries": [ + 16 + ], + "links": [], + "p31": [], + "qid": "Q4264920", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 62, + "pctDepth": 48, + "pctReach": 63, + "fame": 58, + "magnitude": 2 + }, + "description": "Sultan of Aceh (1530–1537/9)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000a4cc4d", + "pageId": 10800205, + "revisionId": 1376918522, + "title": "St. Georgen am Längsee", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality in Carinthia, Austria", + "connect": { + "countries": [ + "Austria" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1802801", + "Q667509" + ], + "qid": "Q664135", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 35, + "pctDepth": 43, + "pctReach": 93, + "fame": 57, + "magnitude": 2 + }, + "description": "Municipality in Carinthia, Austria" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001849df5", + "pageId": 25468405, + "revisionId": 1378546622, + "title": "Maracás", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality of Bahia, Brazil", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3184121" + ], + "qid": "Q1795100", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 43, + "pctReach": 91, + "fame": 59, + "magnitude": 2 + }, + "description": "Municipality of Bahia, Brazil" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000018a8b89", + "pageId": 25856905, + "revisionId": 1367363150, + "title": "Dichromorpha viridis", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of grasshopper", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q5272562", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 3, + "pctReach": 53, + "fame": 38, + "magnitude": 1 + }, + "description": "Species of grasshopper" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002309e43", + "pageId": 36740675, + "revisionId": 1372732350, + "title": "The Best of Men", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "2012 British television film", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q506240" + ], + "qid": "Q7717125", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 80, + "pctDepth": 48, + "pctReach": 53, + "fame": 60, + "magnitude": 2 + }, + "description": "2012 British television film" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000279b34c", + "pageId": 41530188, + "revisionId": 1383948367, + "title": "Hervé Fischer", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q3134490", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 63, + "fame": 55, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000027beec0", + "pageId": 41676480, + "revisionId": 1187069209, + "title": "Mary Sophie Young", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "American botanist (c.1872–1919)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q16043849", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 47, + "fame": 32, + "magnitude": 1 + }, + "description": "American botanist (c.1872–1919)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000039663ae", + "pageId": 60187566, + "revisionId": 1353977816, + "title": "Oncopagurus", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 5, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of crustaceans", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q4471563", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 11, + "pctReach": 63, + "fame": 39, + "magnitude": 2 + }, + "description": "Genus of crustaceans" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000404da56", + "pageId": 67426902, + "revisionId": 1355258366, + "title": "April 2021 nor'easter", + "type": "Event", + "subtype": "disaster", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damageEach", + "target": "each", + "amount": 1, + "template": "T4" + } + ], + "rulesText": "Deal 1 damage to each Figure and each Location.", + "flavor": "Slow-moving nor'easter in April 2021", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2001587" + ], + "qid": "Q106542029", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 52, + "pctDepth": 89, + "pctReach": 8, + "fame": 50, + "magnitude": 2 + }, + "description": "Slow-moving nor'easter in April 2021" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007f1bfc", + "pageId": 8330236, + "revisionId": 1383654640, + "title": "Hiroshima Electric Railway", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Japanese transportation company", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q85907346" + ], + "qid": "Q16595959", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 64, + "pctReach": 82, + "fame": 77, + "magnitude": 3 + }, + "description": "Japanese transportation company" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f14093", + "pageId": 15810707, + "revisionId": 1381828954, + "title": "Charmont-en-Beauce", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Centre-Val de Loire, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q667131", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 94, + "fame": 39, + "magnitude": 2 + }, + "description": "Commune in Centre-Val de Loire, France" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f2623f", + "pageId": 15884863, + "revisionId": 1358001871, + "title": "Freshwater River", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River on Stewart Island / Rakiura, New Zealand", + "connect": { + "countries": [ + "New Zealand" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q5503122", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 33, + "pctReach": 58, + "fame": 38, + "magnitude": 1 + }, + "description": "River on Stewart Island / Rakiura, New Zealand" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000011e7dea", + "pageId": 18775530, + "revisionId": 1378518207, + "title": "Złaków Kościelny", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Łódź Voivodeship, Poland", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3558970" + ], + "qid": "Q321622", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 4, + "pctDepth": 2, + "pctReach": 67, + "fame": 24, + "magnitude": 1 + }, + "description": "Village in Łódź Voivodeship, Poland" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000175fc6f", + "pageId": 24509551, + "revisionId": 1367096869, + "title": "Village (Pennsylvania)", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q16936588", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 38, + "pctDepth": 33, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000180a290", + "pageId": 25207440, + "revisionId": 1376759357, + "title": "Sainte-Félicité, Chaudière-Appalaches", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Municipality in Quebec, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [], + "links": [], + "p31": [ + "Q27676428" + ], + "qid": "Q3464275", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 67, + "fame": 39, + "magnitude": 2 + }, + "description": "Municipality in Quebec, Canada" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001c845f2", + "pageId": 29902322, + "revisionId": 1325745411, + "title": "Llanveynoe", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Village in Herefordshire, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1115575", + "Q532" + ], + "qid": "Q6661845", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 33, + "pctReach": 67, + "fame": 44, + "magnitude": 2 + }, + "description": "Village in Herefordshire, England" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f6d6d1", + "pageId": 66508497, + "revisionId": 1323515500, + "title": "Amanita mairei", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of fungus", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q15651951", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 71, + "fame": 38, + "magnitude": 1 + }, + "description": "Species of fungus" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004cd4092", + "pageId": 80560274, + "revisionId": 1351705367, + "title": "1912 Argentine Primera División final", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 1, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Football match", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q12166442", + "Q1366722" + ], + "qid": "Q135493693", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 73, + "pctReach": 8, + "fame": 32, + "magnitude": 1 + }, + "description": "Football match" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000071fcb", + "pageId": 466891, + "revisionId": 1386046344, + "title": "City of Wyndham", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Local government area in Victoria, Australia", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1426035" + ], + "qid": "Q1502429", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 77, + "pctReach": 74, + "fame": 79, + "magnitude": 3 + }, + "description": "Local government area in Victoria, Australia" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000025711c", + "pageId": 2453788, + "revisionId": 1374732887, + "title": "Heart rot", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": -3, + "toughness": -3, + "template": "T12" + } + ], + "rulesText": "Attach to target Figure. It gets −3/−3.", + "flavor": "Fungal disease of trees", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q2662845" + ], + "qid": "Q5692479", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 68, + "pctReach": 53, + "fame": 68, + "magnitude": 3 + }, + "description": "Fungal disease of trees" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002ad3e8", + "pageId": 2806760, + "revisionId": 1385958400, + "title": "Jess Harnell", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American voice actor and singer (born 1963)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q258503", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 99, + "pctDepth": 96, + "pctReach": 89, + "fame": 95, + "magnitude": 3 + }, + "description": "American voice actor and singer (born 1963)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000089b9d0", + "pageId": 9026000, + "revisionId": 1351068420, + "title": "Names of Poland", + "type": "Doctrine", + "subtype": "language", + "portal": "Neutral", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + }, + { + "trigger": "onCombatDamageToPlayer", + "op": "draw", + "amount": 1, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", + "flavor": "", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q6961536", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 89, + "pctDepth": 83, + "pctReach": 53, + "fame": 75, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f09c8c", + "pageId": 15768716, + "revisionId": 1382030873, + "title": "Ungersheim", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Grand Est, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q122940", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 28, + "pctReach": 96, + "fame": 55, + "magnitude": 2 + }, + "description": "Commune in Grand Est, France" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000246d152", + "pageId": 38195538, + "revisionId": 1354427246, + "title": "Joe Gideon & the Shark", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "English blues/indie rock band", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q3012108", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 52, + "pctDepth": 17, + "pctReach": 23, + "fame": 31, + "magnitude": 1 + }, + "description": "English blues/indie rock band" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025ed7ee", + "pageId": 39770094, + "revisionId": 1376919282, + "title": "2013–14 California Golden Bears men's basketball team", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "American college basketball season", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q26894053" + ], + "qid": "Q16245089", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 92, + "pctReach": 8, + "fame": 41, + "magnitude": 2 + }, + "description": "American college basketball season" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f85b42", + "pageId": 49830722, + "revisionId": 1116073630, + "title": "Dicroidium odontopteroides", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub", + "Local" + ], + "effects": [], + "rulesText": "Stub, Local.", + "flavor": "Species of ancient plant", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q25095289", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 11, + "pctReach": 8, + "fame": 20, + "magnitude": 1 + }, + "description": "Species of ancient plant" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000031e1299", + "pageId": 52302489, + "revisionId": 1380325251, + "title": "Pathrail Mosque", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Mosque in Faridpur, Bangladesh", + "connect": { + "countries": [ + "Bangladesh" + ], + "centuries": [ + 15 + ], + "links": [], + "p31": [ + "Q32815" + ], + "qid": "Q28173356", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 47, + "pctDepth": 54, + "pctReach": 47, + "fame": 49, + "magnitude": 2 + }, + "description": "Mosque in Faridpur, Bangladesh" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000001e346c", + "pageId": 1979500, + "revisionId": 1382599906, + "title": "Zbyszek Godlewski", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 5, + "power": 6, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Polish protester (1952–1970)", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q3497070", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 77, + "pctDepth": 48, + "pctReach": 78, + "fame": 68, + "magnitude": 3 + }, + "description": "Polish protester (1952–1970)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000438c15", + "pageId": 4426773, + "revisionId": 1384528612, + "title": "Agda (programming language)", + "type": "Doctrine", + "subtype": "language", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + }, + { + "trigger": "onCombatDamageToPlayer", + "op": "draw", + "amount": 1, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.\nWhenever it deals combat damage to a player, draw a card.", + "flavor": "Functional programming language", + "connect": { + "countries": [], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q11387554", + "Q28920201", + "Q341", + "Q3839507", + "Q56223375", + "Q9143" + ], + "qid": "Q20479", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 91, + "pctDepth": 77, + "pctReach": 78, + "fame": 82, + "magnitude": 3 + }, + "description": "Functional programming language" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000475385", + "pageId": 4674437, + "revisionId": 1384106265, + "title": "Topusko", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Commune in Sisak-Moslavina County, Croatia", + "connect": { + "countries": [ + "Croatia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q57058" + ], + "qid": "Q2457438", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 74, + "pctDepth": 77, + "pctReach": 90, + "fame": 80, + "magnitude": 3 + }, + "description": "Commune in Sisak-Moslavina County, Croatia" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004dc3c7", + "pageId": 5096391, + "revisionId": 1376332037, + "title": "Isabella of Aragon, Queen of Portugal", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 6, + "power": 6, + "toughness": 4, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "Queen of Portugal from 1497 to 1498", + "connect": { + "countries": [ + "France", + "Italy", + "Portugal", + "Spain", + "United Kingdom" + ], + "centuries": [ + 15 + ], + "links": [], + "p31": [], + "qid": "Q466305", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 97, + "pctDepth": 77, + "pctReach": 97, + "fame": 90, + "magnitude": 3 + }, + "description": "Queen of Portugal from 1497 to 1498" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f2d966", + "pageId": 15915366, + "revisionId": 1381946137, + "title": "Montjavoult", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Hauts-de-France, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q1336846", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 3, + "pctDepth": 4, + "pctReach": 95, + "fame": 34, + "magnitude": 1 + }, + "description": "Commune in Hauts-de-France, France" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f39622", + "pageId": 15963682, + "revisionId": 1384826851, + "title": "Viktor Genev", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Bulgarian footballer", + "connect": { + "countries": [ + "Bulgaria", + "Israel", + "Kazakhstan", + "Romania", + "Russia", + "Ukraine", + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2604995", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 52, + "pctDepth": 77, + "pctReach": 81, + "fame": 70, + "magnitude": 3 + }, + "description": "Bulgarian footballer" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001aba163", + "pageId": 28025187, + "revisionId": 1377386321, + "title": "Pühajõe", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Estonia", + "connect": { + "countries": [ + "Estonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q51049922" + ], + "qid": "Q179358", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 11, + "pctReach": 78, + "fame": 33, + "magnitude": 1 + }, + "description": "Village in Estonia" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002ed73e4", + "pageId": 49116132, + "revisionId": 1376271314, + "title": "Kalihati", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Town in Dhaka Division, Bangladesh", + "connect": { + "countries": [ + "Bangladesh" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23759397", + "Q3957" + ], + "qid": "Q22348003", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 38, + "pctReach": 47, + "fame": 37, + "magnitude": 1 + }, + "description": "Town in Dhaka Division, Bangladesh" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f27561", + "pageId": 49444193, + "revisionId": 1371976132, + "title": "Miloje Vasić", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Serbian archaeologist (1869–1956)", + "connect": { + "countries": [ + "Serbia" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q3314419", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 89, + "pctReach": 78, + "fame": 75, + "magnitude": 3 + }, + "description": "Serbian archaeologist (1869–1956)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001adbf", + "pageId": 110015, + "revisionId": 1377786275, + "title": "Haralson, Georgia", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Town in Georgia, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15127012", + "Q76514543" + ], + "qid": "Q2520618", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 64, + "pctReach": 91, + "fame": 72, + "magnitude": 3 + }, + "description": "Town in Georgia, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ab844d", + "pageId": 11240525, + "revisionId": 1382620781, + "title": "Joseph Ujlaki", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 5, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "French-Hungarian footballer (1929-2006)", + "connect": { + "countries": [ + "France", + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q905343", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 64, + "pctDepth": 28, + "pctReach": 82, + "fame": 58, + "magnitude": 2 + }, + "description": "French-Hungarian footballer (1929-2006)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000162de74", + "pageId": 23256692, + "revisionId": 1176682009, + "title": "Coelogyne trinervis", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 3, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of orchid", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q188238" + ], + "qid": "Q1601035", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 4, + "pctReach": 67, + "fame": 29, + "magnitude": 1 + }, + "description": "Species of orchid" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d74bfb", + "pageId": 30886907, + "revisionId": 1367824379, + "title": "Pine River (Manistee River tributary)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River in Michigan, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q7195337", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 38, + "pctReach": 23, + "fame": 38, + "magnitude": 1 + }, + "description": "River in Michigan, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003b4f3b0", + "pageId": 62190512, + "revisionId": 1377313379, + "title": "Nguyễn Văn Huy", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Vietnamese chess grandmaster (born 1985)", + "connect": { + "countries": [ + "Vietnam" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q20026028", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 28, + "pctReach": 47, + "fame": 41, + "magnitude": 2 + }, + "description": "Vietnamese chess grandmaster (born 1985)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d6c241", + "pageId": 64406081, + "revisionId": 1280859035, + "title": "San Wai (San Tin)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q532" + ], + "qid": "Q96739151", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 48, + "pctReach": 23, + "fame": 31, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003e433c1", + "pageId": 65287105, + "revisionId": 1376673468, + "title": "Kishore Tirumala", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "Indian film director", + "connect": { + "countries": [ + "India" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q93762585", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 91, + "pctDepth": 54, + "pctReach": 36, + "fame": 60, + "magnitude": 2 + }, + "description": "Indian film director" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004d8a703", + "pageId": 81307395, + "revisionId": 1378554406, + "title": "2025 Tehreek-e-Labbaik Pakistan protests", + "type": "Event", + "subtype": "conflict", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4, + "template": "T3" + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Gaza war protests in Pakistan", + "connect": { + "countries": [ + "Israel", + "Pakistan" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q273120" + ], + "qid": "Q136649814", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 82, + "pctDepth": 86, + "pctReach": 23, + "fame": 64, + "magnitude": 3 + }, + "description": "Gaza war protests in Pakistan" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000dc52e", + "pageId": 902446, + "revisionId": 1378970556, + "title": "Guidimaka region", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Region of Mauritania", + "connect": { + "countries": [ + "Mauritania" + ], + "centuries": [], + "links": [], + "p31": [ + "Q846327" + ], + "qid": "Q768119", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 77, + "pctReach": 94, + "fame": 76, + "magnitude": 3 + }, + "description": "Region of Mauritania" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000014fa5c", + "pageId": 1374812, + "revisionId": 1381663979, + "title": "Tom Ewell", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "American actor (1909–1994)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q427388", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 94, + "pctDepth": 83, + "pctReach": 93, + "fame": 90, + "magnitude": 3 + }, + "description": "American actor (1909–1994)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ea6920", + "pageId": 15362336, + "revisionId": 1351181171, + "title": "1954 Gold Coast general election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + }, + "template": "T5" + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "Ghana", + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2618461" + ], + "qid": "Q2539674", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 33, + "pctReach": 36, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000162a8e7", + "pageId": 23242983, + "revisionId": 1351414373, + "title": "Larry Weber", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "American entrepreneur", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6491266", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 73, + "pctReach": 36, + "fame": 58, + "magnitude": 2 + }, + "description": "American entrepreneur" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002f59319", + "pageId": 49648409, + "revisionId": 1344963259, + "title": "Ulla! min Ulla! Säj får jag dig bjuda", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Song by the 18th century Swedish bard Carl Michael Bellman", + "connect": { + "countries": [ + "Sweden" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [ + "Q105543609" + ], + "qid": "Q19528685", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 83, + "pctReach": 23, + "fame": 44, + "magnitude": 2 + }, + "description": "Song by the 18th century Swedish bard Carl Michael Bellman" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000506ce99", + "pageId": 84332185, + "revisionId": 1378056768, + "title": "Oscar González Oro", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 4, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Argentine journalist and radio host (1951–2026)", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q6053873", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 28, + "pctReach": 23, + "fame": 39, + "magnitude": 2 + }, + "description": "Argentine journalist and radio host (1951–2026)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000246570", + "pageId": 2385264, + "revisionId": 1334637363, + "title": "Ofanto", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "River in Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q841550", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 69, + "pctDepth": 43, + "pctReach": 91, + "fame": 68, + "magnitude": 3 + }, + "description": "River in Italy" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000751b4c", + "pageId": 7674700, + "revisionId": 1384061257, + "title": "Shipley Plateau", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Place in the Blue Mountains, Australia", + "connect": { + "countries": [ + "Australia", + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q75520" + ], + "qid": "Q7498025", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 23, + "fame": 16, + "magnitude": 1 + }, + "description": "Place in the Blue Mountains, Australia" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000140afac", + "pageId": 21016492, + "revisionId": 1363646521, + "title": "Xiancantan", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "", + "connect": { + "countries": [ + "China" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q434483", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 7, + "pctReach": 67, + "fame": 41, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003165b05", + "pageId": 51796741, + "revisionId": 1356084913, + "title": "Alex Piquero", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Cuban-American criminologist (born 1970)", + "connect": { + "countries": [ + "Cuba", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q27058048", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 62, + "pctDepth": 59, + "pctReach": 8, + "fame": 43, + "magnitude": 2 + }, + "description": "Cuban-American criminologist (born 1970)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000183a95", + "pageId": 1587861, + "revisionId": 1382422731, + "title": "Vélez-Málaga", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Place in Málaga, Spain", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [], + "links": [], + "p31": [ + "Q2074737" + ], + "qid": "Q492741", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 92, + "pctReach": 98, + "fame": 92, + "magnitude": 3 + }, + "description": "Place in Málaga, Spain" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000041756b", + "pageId": 4289899, + "revisionId": 1384682008, + "title": "Anthodon (reptile)", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 5, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Translated" + ], + "effects": [], + "rulesText": "Translated.", + "flavor": "Extinct genus of reptiles", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q47487597" + ], + "qid": "Q2505064", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 64, + "pctReach": 80, + "fame": 71, + "magnitude": 3 + }, + "description": "Extinct genus of reptiles" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010b1fc1", + "pageId": 17506241, + "revisionId": 1361257647, + "title": "Marion Thees", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "German skeleton racer", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q72724", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 23, + "pctReach": 78, + "fame": 46, + "magnitude": 2 + }, + "description": "German skeleton racer" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000013be088", + "pageId": 20701320, + "revisionId": 1385997032, + "title": "Horse Feathers (band)", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "American indie folk band", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q5905442", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 71, + "pctDepth": 54, + "pctReach": 36, + "fame": 54, + "magnitude": 2 + }, + "description": "American indie folk band" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d92236", + "pageId": 47784502, + "revisionId": 1375411209, + "title": "Christian Zübert", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "German film director and screenwriter (born 1973)", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q1082448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 59, + "pctReach": 58, + "fame": 55, + "magnitude": 2 + }, + "description": "German film director and screenwriter (born 1973)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d70634", + "pageId": 64423476, + "revisionId": 1377264425, + "title": "2023 Seville municipal election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + }, + "template": "T5" + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "Election in the Spanish municipality of Seville", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q152450" + ], + "qid": "Q97188845", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 52, + "pctDepth": 97, + "pctReach": 36, + "fame": 62, + "magnitude": 2 + }, + "description": "Election in the Spanish municipality of Seville" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000049c9880", + "pageId": 77371520, + "revisionId": 1372235441, + "title": "Coalición Vamos", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Political party in Panama", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7278" + ], + "qid": "Q127386808", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 28, + "pctReach": 23, + "fame": 45, + "magnitude": 2 + }, + "description": "Political party in Panama" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001c2f8", + "pageId": 115448, + "revisionId": 1374535006, + "title": "Mackville, Kentucky", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "City in Kentucky, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1093829" + ], + "qid": "Q2246158", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 50, + "pctDepth": 54, + "pctReach": 94, + "fame": 66, + "magnitude": 3 + }, + "description": "City in Kentucky, United States" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000041fc69", + "pageId": 4324457, + "revisionId": 1372952688, + "title": "Juha Suoranta", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Finnish social scientist", + "connect": { + "countries": [ + "Finland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6305056", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 47, + "fame": 50, + "magnitude": 2 + }, + "description": "Finnish social scientist" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000908a9f", + "pageId": 9472671, + "revisionId": 1280127322, + "title": "Fletcher (typeface)", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Serif typeface", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q17451" + ], + "qid": "Q2539914", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 54, + "pctDepth": 2, + "pctReach": 23, + "fame": 26, + "magnitude": 1 + }, + "description": "Serif typeface" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000befc0f", + "pageId": 12516367, + "revisionId": 1320927031, + "title": "Frogham, Kent", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Hamlet in Kent, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q5084" + ], + "qid": "Q5505274", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 21, + "pctDepth": 4, + "pctReach": 47, + "fame": 24, + "magnitude": 1 + }, + "description": "Hamlet in Kent, England" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000181aa81", + "pageId": 25275009, + "revisionId": 1381503728, + "title": "Amur Annexation", + "type": "Event", + "subtype": "conflict", + "portal": "History", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4, + "template": "T3" + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Russian annexation of Outer Manchuria", + "connect": { + "countries": [ + "China", + "Russia" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q194465" + ], + "qid": "Q4379152", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 93, + "pctDepth": 81, + "pctReach": 74, + "fame": 83, + "magnitude": 3 + }, + "description": "Russian annexation of Outer Manchuria" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001fbc437", + "pageId": 33276983, + "revisionId": 1375320562, + "title": "Buky", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Rural locality in Cherkasy Oblast, Ukraine", + "connect": { + "countries": [ + "Ukraine" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4100864", + "Q486972" + ], + "qid": "Q2473493", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 33, + "pctReach": 83, + "fame": 51, + "magnitude": 2 + }, + "description": "Rural locality in Cherkasy Oblast, Ukraine" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000256bae2", + "pageId": 39238370, + "revisionId": 1330396969, + "title": "2013 San Jose State Spartans football team", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "American college football season", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q26895936" + ], + "qid": "Q16972991", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 83, + "pctReach": 8, + "fame": 51, + "magnitude": 2 + }, + "description": "American college football season" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002c1eb97", + "pageId": 46263191, + "revisionId": 1384441370, + "title": "Max Touloute", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Haitian footballer (born 1990)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q20641573", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 68, + "pctReach": 36, + "fame": 46, + "magnitude": 2 + }, + "description": "Haitian footballer (born 1990)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002fdc661", + "pageId": 50185825, + "revisionId": 1371365886, + "title": "Majid Qodiri", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Uzbek literary scholar and educator (1886–1938)", + "connect": { + "countries": [], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q23823703", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 64, + "pctReach": 63, + "fame": 53, + "magnitude": 2 + }, + "description": "Uzbek literary scholar and educator (1886–1938)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000321b424", + "pageId": 52540452, + "revisionId": 1381108921, + "title": "Olga Gorshenina", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Russian handball player", + "connect": { + "countries": [ + "Germany", + "Hungary", + "Romania", + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2019617", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 14, + "pctDepth": 17, + "pctReach": 78, + "fame": 36, + "magnitude": 1 + }, + "description": "Russian handball player" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000043bf4f0", + "pageId": 71038192, + "revisionId": 1382877416, + "title": "1952 Avusrennen", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 1, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +1/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Motor car race", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q112838670", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 24, + "pctDepth": 38, + "pctReach": 8, + "fame": 23, + "magnitude": 1 + }, + "description": "Motor car race" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004d8d1a8", + "pageId": 81318312, + "revisionId": 1382049023, + "title": "Guido Iván Justo", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "Argentine tennis player (born 1997)", + "connect": { + "countries": [ + "Argentina" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q138414200", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 54, + "pctReach": 23, + "fame": 54, + "magnitude": 2 + }, + "description": "Argentine tennis player (born 1997)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000021dbee", + "pageId": 2218990, + "revisionId": 1386025479, + "title": "Deputy Prime Minister of Malaysia", + "type": "Institution", + "subtype": "other", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + }, + "template": "T10" + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Political office in Malaysia", + "connect": { + "countries": [ + "Malaysia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4164871" + ], + "qid": "Q5261073", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 86, + "pctReach": 76, + "fame": 84, + "magnitude": 3 + }, + "description": "Political office in Malaysia" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007e454c", + "pageId": 8275276, + "revisionId": 1350443233, + "title": "Thomas Wharton Jr.", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "American politician (1735–1778)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 18 + ], + "links": [], + "p31": [], + "qid": "Q883460", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 79, + "pctDepth": 73, + "pctReach": 36, + "fame": 63, + "magnitude": 3 + }, + "description": "American politician (1735–1778)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001462f3f", + "pageId": 21376831, + "revisionId": 1374494957, + "title": "Bez (Drôme)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "River in France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q1019347", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 7, + "pctReach": 36, + "fame": 20, + "magnitude": 1 + }, + "description": "River in France" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000155d87e", + "pageId": 22403198, + "revisionId": 1375646501, + "title": "Cioc-Maidan", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Gagauzia, Moldova", + "connect": { + "countries": [ + "Moldova" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4229812", + "Q532" + ], + "qid": "Q2639022", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 28, + "pctReach": 80, + "fame": 48, + "magnitude": 2 + }, + "description": "Commune in Gagauzia, Moldova" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000015797a4", + "pageId": 22517668, + "revisionId": 1244289559, + "title": "Kwong Wai Siew Peck San Theng", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Columbarium in Singapore", + "connect": { + "countries": [ + "Singapore" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q6450554", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 74, + "pctDepth": 54, + "pctReach": 23, + "fame": 50, + "magnitude": 2 + }, + "description": "Columbarium in Singapore" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d51886", + "pageId": 47519878, + "revisionId": 1382761423, + "title": "Jeanne Madden", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American singer and actress (1917–1989)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q20974011", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 7, + "pctReach": 53, + "fame": 27, + "magnitude": 1 + }, + "description": "American singer and actress (1917–1989)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e752d2", + "pageId": 48714450, + "revisionId": 1383721847, + "title": "Payam Heydari", + "type": "Figure", + "subtype": null, + "portal": "Science", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Iranian-American Professor", + "connect": { + "countries": [ + "Iran", + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q22097382", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 73, + "pctReach": 36, + "fame": 56, + "magnitude": 2 + }, + "description": "Iranian-American Professor" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004b36e3e", + "pageId": 78868030, + "revisionId": 1327239041, + "title": "Mercenasco Castle", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Building in Mercenasco, Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23413" + ], + "qid": "Q131729377", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 0, + "pctDepth": 17, + "pctReach": 36, + "fame": 18, + "magnitude": 1 + }, + "description": "Building in Mercenasco, Italy" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000050afd22", + "pageId": 84606242, + "revisionId": 1382829231, + "title": "Edward Ellsworth Underwood", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "American physician (1864–1942)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q141822855", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 59, + "pctReach": 8, + "fame": 39, + "magnitude": 2 + }, + "description": "American physician (1864–1942)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000ef95c", + "pageId": 981340, + "revisionId": 1384823392, + "title": "Tatsunoko Production", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Japanese animation studio", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q1107679" + ], + "qid": "Q1323459", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 94, + "pctDepth": 98, + "pctReach": 86, + "fame": 93, + "magnitude": 3 + }, + "description": "Japanese animation studio" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000001ed529", + "pageId": 2020649, + "revisionId": 1356568738, + "title": "Luxury box", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Class of seating in arena or stadium", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q852359", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "description", + "basis": { + "pctAttention": 87, + "pctDepth": 83, + "pctReach": 63, + "fame": 78, + "magnitude": 3 + }, + "description": "Class of seating in arena or stadium" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002d7151", + "pageId": 2978129, + "revisionId": 1354827085, + "title": "Saraca", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 5, + "toughness": 3, + "territory": 0, + "keywords": [ + "Translated" + ], + "effects": [], + "rulesText": "Translated.", + "flavor": "Genus of legumes", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q2426272", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 33, + "pctReach": 86, + "fame": 59, + "magnitude": 2 + }, + "description": "Genus of legumes" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d65bfa", + "pageId": 14048250, + "revisionId": 1377607311, + "title": "Frontier, Saskatchewan", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Village in Saskatchewan, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [], + "links": [], + "p31": [ + "Q6644778" + ], + "qid": "Q2003391", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 77, + "pctReach": 47, + "fame": 63, + "magnitude": 3 + }, + "description": "Village in Saskatchewan, Canada" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d1c4f7", + "pageId": 30524663, + "revisionId": 1321144611, + "title": "Aichi AB-2", + "type": "Institution", + "subtype": "organisation", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Prototype reconnaissance floatplane", + "connect": { + "countries": [ + "Japan" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q15056995" + ], + "qid": "Q4696551", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 47, + "pctDepth": 43, + "pctReach": 47, + "fame": 46, + "magnitude": 2 + }, + "description": "Prototype reconnaissance floatplane" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001d6c6e5", + "pageId": 30852837, + "revisionId": 1366643102, + "title": "Symphodus", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Genus of fishes", + "connect": { + "countries": [ + "Spain" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q2019861", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 48, + "pctReach": 89, + "fame": 61, + "magnitude": 2 + }, + "description": "Genus of fishes" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028ca141", + "pageId": 42770753, + "revisionId": 1375492681, + "title": "Château de la Faye (Villexavier)", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Manor house in Charente-Maritime, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23413" + ], + "qid": "Q2971223", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 7, + "pctReach": 23, + "fame": 13, + "magnitude": 1 + }, + "description": "Manor house in Charente-Maritime, France" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e6632d", + "pageId": 48653101, + "revisionId": 1381828221, + "title": "Tornadoes of 1978", + "type": "Event", + "subtype": "disaster", + "portal": "Neutral", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damageEach", + "target": "each", + "amount": 1, + "template": "T4" + } + ], + "rulesText": "Deal 1 damage to each Figure and each Location.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q18340514" + ], + "qid": "Q22093730", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 80, + "pctDepth": 81, + "pctReach": 8, + "fame": 56, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000034881ec", + "pageId": 55083500, + "revisionId": 1383844197, + "title": "United Kingdom House", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Building on Oxford Street, London, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q26319049", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 23, + "pctReach": 23, + "fame": 33, + "magnitude": 1 + }, + "description": "Building on Oxford Street, London, England" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000337786", + "pageId": 3372934, + "revisionId": 1364063954, + "title": "Hermes Ramírez", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Cuban sprinter (1948–2024)", + "connect": { + "countries": [ + "Cuba", + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q522855", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 59, + "pctReach": 81, + "fame": 61, + "magnitude": 2 + }, + "description": "Cuban sprinter (1948–2024)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000007f4694", + "pageId": 8341140, + "revisionId": 1370304900, + "title": "Ceaușescu family", + "type": "Figure", + "subtype": null, + "portal": "Neutral", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Featured" + ], + "effects": [], + "rulesText": "Featured.", + "flavor": "Family of Nicolae Ceaușescu", + "connect": { + "countries": [ + "Romania" + ], + "centuries": [], + "links": [], + "p31": [ + "Q8436" + ], + "qid": "Q5055770", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 92, + "pctDepth": 59, + "pctReach": 47, + "fame": 66, + "magnitude": 3 + }, + "description": "Family of Nicolae Ceaușescu" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d29182", + "pageId": 13799810, + "revisionId": 1374230485, + "title": "Levophacetoperane", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Stimulant drug", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q113145171" + ], + "qid": "Q6535818", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 38, + "pctReach": 36, + "fame": 46, + "magnitude": 2 + }, + "description": "Stimulant drug" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010eef0c", + "pageId": 17755916, + "revisionId": 1360992742, + "title": "Xiaoliang Sunney Xie", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected", + "Well-sourced" + ], + "effects": [], + "rulesText": "Protected, Well-sourced.", + "flavor": "Chinese-American biochemist", + "connect": { + "countries": [ + "China", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q906616", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 74, + "pctDepth": 93, + "pctReach": 58, + "fame": 75, + "magnitude": 3 + }, + "description": "Chinese-American biochemist" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001225032", + "pageId": 19025970, + "revisionId": 1385734329, + "title": "Marina Kuzina", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected", + "Translated" + ], + "effects": [], + "rulesText": "Protected, Translated.", + "flavor": "Russian basketball player", + "connect": { + "countries": [ + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2704942", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 11, + "pctReach": 86, + "fame": 39, + "magnitude": 2 + }, + "description": "Russian basketball player" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000016ff42e", + "pageId": 24114222, + "revisionId": 1317119586, + "title": "Rum cake", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Type of dessert", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q7379109", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 90, + "pctDepth": 38, + "pctReach": 71, + "fame": 66, + "magnitude": 3 + }, + "description": "Type of dessert" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e1e5e4", + "pageId": 31581668, + "revisionId": 1377811586, + "title": "Ian Potter Museum of Art", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Art museum in Parkville, Victoria", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q207694" + ], + "qid": "Q5982619", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 62, + "pctDepth": 68, + "pctReach": 36, + "fame": 55, + "magnitude": 2 + }, + "description": "Art museum in Parkville, Victoria" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001ff532a", + "pageId": 33510186, + "revisionId": 1371413731, + "title": "Piet Hesse", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "Dutch actor and comedian (1872–1936)", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q2513810", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 17, + "pctDepth": 23, + "pctReach": 53, + "fame": 31, + "magnitude": 1 + }, + "description": "Dutch actor and comedian (1872–1936)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000212369d", + "pageId": 34748061, + "revisionId": 1315380924, + "title": "Goneplax", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 1, + "toughness": 3, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of crabs", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q5234395", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 4, + "pctDepth": 14, + "pctReach": 71, + "fame": 30, + "magnitude": 1 + }, + "description": "Genus of crabs" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002d706ce", + "pageId": 47646414, + "revisionId": 1384401817, + "title": "John Mellencamp Pavilion", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "American athletics facility at Indiana University Bloomington", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q41176" + ], + "qid": "Q22097461", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 71, + "pctDepth": 33, + "pctReach": 8, + "fame": 37, + "magnitude": 1 + }, + "description": "American athletics facility at Indiana University Bloomington" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003853be9", + "pageId": 59063273, + "revisionId": 1385547666, + "title": "Nathan M. Johnson", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American politician and composer (born 1968)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q58756295", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 98, + "pctDepth": 89, + "pctReach": 23, + "fame": 70, + "magnitude": 3 + }, + "description": "American politician and composer (born 1968)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003a79927", + "pageId": 61315367, + "revisionId": 1380314462, + "title": "Payson J. Treat", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American Japanologist (1879–1972)", + "connect": { + "countries": [ + "Japan", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q59628931", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 38, + "pctReach": 8, + "fame": 19, + "magnitude": 1 + }, + "description": "American Japanologist (1879–1972)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000179138", + "pageId": 1544504, + "revisionId": 1384187229, + "title": "Walter Rauschenbusch", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "American theologian and Baptist pastor (1861-1918)", + "connect": { + "countries": [ + "Germany", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q1345238", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 89, + "pctDepth": 90, + "pctReach": 86, + "fame": 88, + "magnitude": 3 + }, + "description": "American theologian and Baptist pastor (1861-1918)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002518b4", + "pageId": 2431156, + "revisionId": 1368504160, + "title": "Organization of the Luftwaffe (1933–1945)", + "type": "Institution", + "subtype": "organisation", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Structure of German air force", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q15627509" + ], + "qid": "Q636182", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 98, + "pctReach": 67, + "fame": 85, + "magnitude": 3 + }, + "description": "Structure of German air force" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000006af267", + "pageId": 7008871, + "revisionId": 1382159622, + "title": "Duke Blue Devils football", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Football team of Duke University", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q17156793", + "Q18558301" + ], + "qid": "Q5312733", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 98, + "pctDepth": 98, + "pctReach": 36, + "fame": 77, + "magnitude": 3 + }, + "description": "Football team of Duke University" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000a9306d", + "pageId": 11087981, + "revisionId": 1383233544, + "title": "SREBP cleavage-activating protein", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Protein-coding gene in the species Homo sapiens", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q14913782", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 68, + "pctReach": 36, + "fame": 49, + "magnitude": 2 + }, + "description": "Protein-coding gene in the species Homo sapiens" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e463d7", + "pageId": 14967767, + "revisionId": 1346472302, + "title": "Everton, Nottinghamshire", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Village and civil parish in Nottinghamshire, England", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1115575", + "Q532" + ], + "qid": "Q5417389", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 54, + "pctReach": 63, + "fame": 56, + "magnitude": 2 + }, + "description": "Village and civil parish in Nottinghamshire, England" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001625b83", + "pageId": 23223171, + "revisionId": 1351215348, + "title": "Plectania", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 4, + "power": 3, + "toughness": 5, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of fungi", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q5235905", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 54, + "pctReach": 67, + "fame": 51, + "magnitude": 2 + }, + "description": "Genus of fungi" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000229b4e9", + "pageId": 36287721, + "revisionId": 1364688814, + "title": "Magheracross", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Townland in County Fermanagh, Northern Ireland", + "connect": { + "countries": [ + "Ireland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q2151232" + ], + "qid": "Q6730410", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 59, + "pctReach": 8, + "fame": 31, + "magnitude": 1 + }, + "description": "Townland in County Fermanagh, Northern Ireland" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003256025", + "pageId": 52781093, + "revisionId": 1360733771, + "title": "SS Iberia (1873)", + "type": "Institution", + "subtype": "other", + "portal": "History", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + }, + "template": "T10" + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Steamship by John Elder", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q12859788" + ], + "qid": "Q28232395", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 17, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + }, + "description": "Steamship by John Elder" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000004cc4", + "pageId": 19652, + "revisionId": 1382146482, + "title": "Monoid", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "grant": [ + "Well-sourced" + ], + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", + "flavor": "Algebraic structure with an associative operation and an identity element", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q208237", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 97, + "pctDepth": 93, + "pctReach": 98, + "fame": 96, + "magnitude": 3 + }, + "description": "Algebraic structure with an associative operation and an identity element" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004bb672", + "pageId": 4961906, + "revisionId": 1343697567, + "title": "Chinese star maps", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "Depictions of the positions of stars on the celestial sphere", + "connect": { + "countries": [ + "China" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q16241158", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 79, + "pctDepth": 90, + "pctReach": 36, + "fame": 68, + "magnitude": 3 + }, + "description": "Depictions of the positions of stars on the celestial sphere" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000008b571b", + "pageId": 9131803, + "revisionId": 1351670352, + "title": "Shooting at the 1912 Summer Olympics – Men's 30 metre rapid fire pistol", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2, + "template": "T7" + } + ], + "rulesText": "Draw two cards.", + "flavor": "Olympic shooting event", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q18536594" + ], + "qid": "Q7500632", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 68, + "pctReach": 58, + "fame": 52, + "magnitude": 2 + }, + "description": "Olympic shooting event" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000b8fc3c", + "pageId": 12123196, + "revisionId": 1362893730, + "title": "Phu Phra Bat Buabok Forest Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Forest park in Ban Phue District, Thailand", + "connect": { + "countries": [ + "Thailand" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q13020522" + ], + "qid": "Q250022", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 17, + "pctReach": 36, + "fame": 27, + "magnitude": 1 + }, + "description": "Forest park in Ban Phue District, Thailand" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e67fba", + "pageId": 15105978, + "revisionId": 1384889405, + "title": "Well", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "grant": [ + "Well-sourced" + ], + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3 and has Well-sourced.", + "flavor": "Excavation or structure to provide access to groundwater", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q43483", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "description", + "basis": { + "pctAttention": 97, + "pctDepth": 95, + "pctReach": 99, + "fame": 97, + "magnitude": 3 + }, + "description": "Excavation or structure to provide access to groundwater" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002e39459", + "pageId": 48469081, + "revisionId": 1373109716, + "title": "Dr. John L. Butler House", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Historic house in Arkansas, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q3947" + ], + "qid": "Q24041379", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 3, + "pctDepth": 14, + "pctReach": 8, + "fame": 8, + "magnitude": 1 + }, + "description": "Historic house in Arkansas, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f34d76", + "pageId": 66276726, + "revisionId": 1326195763, + "title": "Inaechelys", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Genus of reptiles", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q23038290" + ], + "qid": "Q26700596", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 11, + "pctReach": 23, + "fame": 20, + "magnitude": 1 + }, + "description": "Genus of reptiles" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004dba1f0", + "pageId": 81502704, + "revisionId": 1373685251, + "title": "Wenshet", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 3, + "toughness": 3, + "territory": 0, + "keywords": [], + "effects": [], + "rulesText": "", + "flavor": "", + "connect": { + "countries": [ + "Egypt" + ], + "centuries": [ + 26 + ], + "links": [], + "p31": [], + "qid": "Q2559642", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 48, + "pctReach": 53, + "fame": 45, + "magnitude": 2 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000020ac39", + "pageId": 2141241, + "revisionId": 1381701379, + "title": "Hvis lyset tar oss", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1994 studio album by Burzum", + "connect": { + "countries": [ + "Norway" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q482994" + ], + "qid": "Q1129211", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 93, + "pctDepth": 48, + "pctReach": 90, + "fame": 77, + "magnitude": 3 + }, + "description": "1994 studio album by Burzum" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000003efcc4", + "pageId": 4127940, + "revisionId": 1376763672, + "title": "Lunugala", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Town in Uva Province, Sri Lanka", + "connect": { + "countries": [ + "Sri Lanka" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q6704475", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 43, + "pctReach": 36, + "fame": 44, + "magnitude": 2 + }, + "description": "Town in Uva Province, Sri Lanka" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ec5681", + "pageId": 15488641, + "revisionId": 1384010653, + "title": "Dominique Rodgers-Cromartie", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American football player (born 1986)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q434024", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 94, + "pctDepth": 97, + "pctReach": 58, + "fame": 83, + "magnitude": 3 + }, + "description": "American football player (born 1986)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001774450", + "pageId": 24593488, + "revisionId": 1379665199, + "title": "Žižki", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Place in Prekmurje, Slovenia", + "connect": { + "countries": [ + "Slovenia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q280193", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 38, + "pctReach": 84, + "fame": 48, + "magnitude": 2 + }, + "description": "Place in Prekmurje, Slovenia" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003115e59", + "pageId": 51469913, + "revisionId": 1364729120, + "title": "Beaconsfield Station Sheep Wash", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Historic site in Queensland, Australia", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1081138" + ], + "qid": "Q28035337", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 73, + "pctReach": 8, + "fame": 30, + "magnitude": 1 + }, + "description": "Historic site in Queensland, Australia" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000032f1880", + "pageId": 53418112, + "revisionId": 1383301063, + "title": "2012 United States presidential straw poll in Guam", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 2, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + }, + "template": "T5" + } + ], + "rulesText": "Create two 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q858439" + ], + "qid": "Q29097654", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 59, + "pctReach": 8, + "fame": 44, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000033fcb23", + "pageId": 54512419, + "revisionId": 1282834290, + "title": "Elephant Square", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q174782", + "Q1788454" + ], + "qid": "Q39046311", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 17, + "pctReach": 23, + "fame": 35, + "magnitude": 1 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000387d360", + "pageId": 59233120, + "revisionId": 1316504057, + "title": "Maryland Independent", + "type": "Institution", + "subtype": "work", + "portal": "Neutral", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "Semi-weekly newspaper published in Waldorf, Maryland, US", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q11032" + ], + "qid": "Q55667255", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 54, + "pctReach": 8, + "fame": 31, + "magnitude": 1 + }, + "description": "Semi-weekly newspaper published in Waldorf, Maryland, US" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004a88b48", + "pageId": 78154568, + "revisionId": 1384643280, + "title": "Lithodes mamillifer", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of king crab", + "connect": { + "countries": [ + "India" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q13768243", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 9, + "pctDepth": 4, + "pctReach": 23, + "fame": 12, + "magnitude": 1 + }, + "description": "Species of king crab" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000002061e", + "pageId": 132638, + "revisionId": 1375881246, + "title": "Perry Township, Greene County, Pennsylvania", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Township in Pennsylvania, US", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q9035798" + ], + "qid": "Q5809786", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 59, + "pctReach": 63, + "fame": 55, + "magnitude": 2 + }, + "description": "Township in Pennsylvania, US" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000d1815", + "pageId": 858133, + "revisionId": 1261572264, + "title": "Ashley (automobile)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "British manufacturers of car body shells & chassis for specials (1955-1962)", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q786820" + ], + "qid": "Q725930", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 66, + "pctDepth": 54, + "pctReach": 36, + "fame": 52, + "magnitude": 2 + }, + "description": "British manufacturers of car body shells & chassis for specials (1955-1962)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010c9c6d", + "pageId": 17603693, + "revisionId": 1339376467, + "title": "Bad Little Angel", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1939 film by Wilhelm Thiele", + "connect": { + "countries": [ + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11424" + ], + "qid": "Q2483475", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 66, + "pctDepth": 23, + "pctReach": 36, + "fame": 42, + "magnitude": 2 + }, + "description": "1939 film by Wilhelm Thiele" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000015e910f", + "pageId": 22974735, + "revisionId": 1374856654, + "title": "Christianity in the 5th century", + "type": "Event", + "subtype": "other", + "portal": "Neutral", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 3, + "template": "T7" + } + ], + "rulesText": "Draw three cards.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [ + 5 + ], + "links": [], + "p31": [ + "Q18340514" + ], + "qid": "Q5110603", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 79, + "pctDepth": 94, + "pctReach": 36, + "fame": 70, + "magnitude": 3 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000018c3734", + "pageId": 25966388, + "revisionId": 1329232874, + "title": "Phacelia quickii", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of plant", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q7179927", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 3, + "pctDepth": 11, + "pctReach": 47, + "fame": 20, + "magnitude": 1 + }, + "description": "Species of plant" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002217317", + "pageId": 35746583, + "revisionId": 1346095921, + "title": "Barbajada", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Italian chocolate coffee drink", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q3634571", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 74, + "pctDepth": 17, + "pctReach": 58, + "fame": 50, + "magnitude": 2 + }, + "description": "Italian chocolate coffee drink" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000023d5c96", + "pageId": 37575830, + "revisionId": 1385253370, + "title": "Özkan Yıldırım", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "German footballer", + "connect": { + "countries": [ + "Germany", + "Turkey" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q1152151", + "cites": [] + }, + "rarity": "Legendary", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 54, + "pctReach": 74, + "fame": 51, + "magnitude": 2 + }, + "description": "German footballer" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003d66226", + "pageId": 64381478, + "revisionId": 1381097840, + "title": "Denis Zabolotin", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "Russian handball player", + "connect": { + "countries": [ + "Russia" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q96644151", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 14, + "pctReach": 36, + "fame": 24, + "magnitude": 1 + }, + "description": "Russian handball player" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003eadb6d", + "pageId": 65723245, + "revisionId": 1380335385, + "title": "Russell A. Sanborn", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "U.S. Marine major general", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q29852979", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 73, + "pctReach": 23, + "fame": 50, + "magnitude": 2 + }, + "description": "U.S. Marine major general" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004e3418c", + "pageId": 82002316, + "revisionId": 1357961360, + "title": "Taupo Totara Timber Company", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "New Zealand timber and building supplies company", + "connect": { + "countries": [ + "New Zealand" + ], + "centuries": [], + "links": [], + "p31": [ + "Q783794" + ], + "qid": "Q138001385", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 90, + "pctReach": 8, + "fame": 47, + "magnitude": 2 + }, + "description": "New Zealand timber and building supplies company" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000129da3", + "pageId": 1220003, + "revisionId": 1381976644, + "title": "Robert Hawthorne", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "Recipient of the Victoria Cross", + "connect": { + "countries": [ + "India", + "Ireland", + "United Kingdom" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q3681767", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 77, + "pctReach": 8, + "fame": 54, + "magnitude": 2 + }, + "description": "Recipient of the Victoria Cross" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000134dd65", + "pageId": 20241765, + "revisionId": 1362148473, + "title": "Imre Szöllősi", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 1, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "Hungarian canoeist (1941–2022)", + "connect": { + "countries": [ + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q6008352", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 33, + "pctReach": 82, + "fame": 42, + "magnitude": 2 + }, + "description": "Hungarian canoeist (1941–2022)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000182777d", + "pageId": 25327485, + "revisionId": 1378155021, + "title": "Marc Fesneau", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "French politician (born 1971)", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6755549", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 68, + "pctReach": 63, + "fame": 69, + "magnitude": 3 + }, + "description": "French politician (born 1971)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000279e59b", + "pageId": 41543067, + "revisionId": 1381927878, + "title": "Arms and the Girl", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1917 American silent film", + "connect": { + "countries": [ + "Belgium", + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11424" + ], + "qid": "Q16248487", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 43, + "pctReach": 53, + "fame": 48, + "magnitude": 2 + }, + "description": "1917 American silent film" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000027f963c", + "pageId": 41915964, + "revisionId": 1308018675, + "title": "Taylor County Historical Society", + "type": "Institution", + "subtype": "organisation", + "portal": "History", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Non-profit organization in Florida, US", + "connect": { + "countries": [], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q5774403" + ], + "qid": "Q16966311", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 23, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + }, + "description": "Non-profit organization in Florida, US" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028399d2", + "pageId": 42179026, + "revisionId": 1373475086, + "title": "Dojikko", + "type": "Figure", + "subtype": null, + "portal": "Arts", + "cost": 4, + "power": 6, + "toughness": 2, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Extremely clumsy female character in anime and manga", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q636497" + ], + "qid": "Q164896", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 23, + "pctReach": 80, + "fame": 62, + "magnitude": 2 + }, + "description": "Extremely clumsy female character in anime and manga" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000033104b5", + "pageId": 53544117, + "revisionId": 1371197205, + "title": "Jünkerath station", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 2, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Railway station in Jünkerath, Germany", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q55488" + ], + "qid": "Q23924993", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 77, + "pctReach": 23, + "fame": 39, + "magnitude": 2 + }, + "description": "Railway station in Jünkerath, Germany" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000391b393", + "pageId": 59880339, + "revisionId": 1382490836, + "title": "United Artists Releasing", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Film distribution successor to United Artists", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q783794" + ], + "qid": "Q119348733", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 93, + "pctDepth": 92, + "pctReach": 47, + "fame": 77, + "magnitude": 3 + }, + "description": "Film distribution successor to United Artists" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004a1ebca", + "pageId": 77720522, + "revisionId": 1380422871, + "title": "Hungarian Giant Pigeon", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q15623573" + ], + "qid": "Q12815231", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 33, + "pctReach": 47, + "fame": 50, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004da4001", + "pageId": 81412097, + "revisionId": 1380568254, + "title": "Iona Moir", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 4, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "British track cyclist", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [], + "qid": "Q130078456", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 64, + "pctReach": 67, + "fame": 63, + "magnitude": 3 + }, + "description": "British track cyclist" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000005057304", + "pageId": 84243204, + "revisionId": 1375287029, + "title": "Figueiredo (Guimarães)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Extinct parish in Guimarães, Portugal", + "connect": { + "countries": [ + "Portugal" + ], + "centuries": [], + "links": [], + "p31": [ + "Q56046844" + ], + "qid": "Q1023176", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 1, + "pctDepth": 33, + "pctReach": 78, + "fame": 37, + "magnitude": 1 + }, + "description": "Extinct parish in Guimarães, Portugal" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000155c7", + "pageId": 87495, + "revisionId": 1375332586, + "title": "Kusilvak Census Area, Alaska", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 3, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Census area in Alaska, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q56064719" + ], + "qid": "Q379474", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 85, + "pctDepth": 86, + "pctReach": 93, + "fame": 88, + "magnitude": 3 + }, + "description": "Census area in Alaska, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000365525", + "pageId": 3560741, + "revisionId": 1372647813, + "title": "Martin Taylor (businessman)", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "British businessman (born 1952)", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q6776725", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 74, + "pctDepth": 48, + "pctReach": 47, + "fame": 56, + "magnitude": 2 + }, + "description": "British businessman (born 1952)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000051e94e", + "pageId": 5368142, + "revisionId": 1385081865, + "title": "Brass Mill Center", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Shopping mall in Connecticut, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q11315" + ], + "qid": "Q4957871", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 76, + "pctDepth": 59, + "pctReach": 8, + "fame": 48, + "magnitude": 2 + }, + "description": "Shopping mall in Connecticut, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e1c7a2", + "pageId": 31573922, + "revisionId": 1364585710, + "title": "Vincenza Sicari", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Italian long-distance runner (born 1979)", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q2526833", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 73, + "pctReach": 58, + "fame": 51, + "magnitude": 2 + }, + "description": "Italian long-distance runner (born 1979)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000211993c", + "pageId": 34707772, + "revisionId": 1376437554, + "title": "Arnold I of Egmond", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 14, + 15 + ], + "links": [], + "p31": [], + "qid": "Q1920891", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 23, + "pctReach": 53, + "fame": 37, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000031e8b4a", + "pageId": 52333386, + "revisionId": 1373477524, + "title": "Lewis and Elizabeth Bolton House", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Historic house in Missouri, United States", + "connect": { + "countries": [ + "Greece", + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1307276" + ], + "qid": "Q28007838", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 11, + "pctReach": 8, + "fame": 14, + "magnitude": 1 + }, + "description": "Historic house in Missouri, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000347e0d", + "pageId": 3440141, + "revisionId": 1384669473, + "title": "Belgium at the 1948 Summer Olympics", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2, + "template": "T7" + } + ], + "rulesText": "Draw two cards.", + "flavor": "Sporting event delegation", + "connect": { + "countries": [ + "Belgium" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q26213387" + ], + "qid": "Q592430", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 24, + "pctDepth": 64, + "pctReach": 85, + "fame": 58, + "magnitude": 2 + }, + "description": "Sporting event delegation" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000042c0a6", + "pageId": 4374694, + "revisionId": 1384632958, + "title": "National Register of Historic Places listings in Yates County, New York", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "grant": [ + "Well-sourced" + ], + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q13406463" + ], + "qid": "Q6977936", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 89, + "pctReach": 23, + "fame": 48, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e62c56", + "pageId": 15084630, + "revisionId": 1340554441, + "title": "Uremic frost", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": -2, + "toughness": -2, + "template": "T12" + } + ], + "rulesText": "Attach to target Figure. It gets −2/−2.", + "flavor": "Crystallized urea deposits on skin", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q1441305" + ], + "qid": "Q18395101", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 86, + "pctDepth": 23, + "pctReach": 36, + "fame": 48, + "magnitude": 2 + }, + "description": "Crystallized urea deposits on skin" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000f4bc30", + "pageId": 16038960, + "revisionId": 1381994388, + "title": "La Chapelle-Palluau", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Commune in Pays de la Loire, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q675088", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 0, + "pctDepth": 7, + "pctReach": 95, + "fame": 34, + "magnitude": 1 + }, + "description": "Commune in Pays de la Loire, France" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001334c0c", + "pageId": 20139020, + "revisionId": 1307118821, + "title": "Samuel Yeatman", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 1, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American baseball player (1839–1901)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q4911449", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 1, + "pctDepth": 14, + "pctReach": 23, + "fame": 13, + "magnitude": 1 + }, + "description": "American baseball player (1839–1901)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b5f940", + "pageId": 28703040, + "revisionId": 1366016093, + "title": "Suðurey", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Island in Iceland", + "connect": { + "countries": [ + "Iceland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q23442" + ], + "qid": "Q3115506", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 67, + "fame": 36, + "magnitude": 1 + }, + "description": "Island in Iceland" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002aa485f", + "pageId": 44714079, + "revisionId": 1364832308, + "title": "Île-de-France tramway Line 6", + "type": "Institution", + "subtype": "other", + "portal": "Neutral", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + }, + "template": "T10" + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "Suburban tram line in Hauts-de-Seine and Yvelines, southwest of Paris", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q15145593", + "Q385653" + ], + "qid": "Q3238993", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 28, + "pctReach": 74, + "fame": 57, + "magnitude": 2 + }, + "description": "Suburban tram line in Hauts-de-Seine and Yvelines, southwest of Paris" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004d774c", + "pageId": 5076812, + "revisionId": 1373793952, + "title": "Free-Stater (Kansas)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Anti-Slavery organization", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15911314" + ], + "qid": "Q5499603", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 83, + "pctDepth": 48, + "pctReach": 23, + "fame": 51, + "magnitude": 2 + }, + "description": "Anti-Slavery organization" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000008223bb", + "pageId": 8528827, + "revisionId": 1379603420, + "title": "Llandarcy Oil Refinery", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 2, + "power": 0, + "toughness": 4, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/4.", + "flavor": "Former oil refinery in Neath Port Talbot, Wales", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q12353044" + ], + "qid": "Q27957412", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 77, + "pctReach": 8, + "fame": 52, + "magnitude": 2 + }, + "description": "Former oil refinery in Neath Port Talbot, Wales" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ea3205", + "pageId": 15348229, + "revisionId": 1367445085, + "title": "Diocese of Mindelo", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Roman Catholic diocese in Cape Verde", + "connect": { + "countries": [], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2665272", + "Q3146899" + ], + "qid": "Q872428", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 17, + "pctReach": 81, + "fame": 38, + "magnitude": 1 + }, + "description": "Roman Catholic diocese in Cape Verde" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000edde01", + "pageId": 15588865, + "revisionId": 1381802984, + "title": "Bonnevaux-le-Prieuré", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Part of Ornans in Bourgogne-Franche-Comté, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q21869758", + "Q484170" + ], + "qid": "Q837744", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 4, + "pctReach": 91, + "fame": 34, + "magnitude": 1 + }, + "description": "Part of Ornans in Bourgogne-Franche-Comté, France" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000010609ef", + "pageId": 17172975, + "revisionId": 1378041962, + "title": "Bukama", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Place in Haut-Lomami, Democratic Republic of the Congo", + "connect": { + "countries": [ + "Congo" + ], + "centuries": [], + "links": [], + "p31": [ + "Q515" + ], + "qid": "Q2915071", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 64, + "pctDepth": 54, + "pctReach": 84, + "fame": 67, + "magnitude": 3 + }, + "description": "Place in Haut-Lomami, Democratic Republic of the Congo" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001639bbc", + "pageId": 23305148, + "revisionId": 1377045846, + "title": "Agios Isidoros, Cyprus", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Place in Paphos District, Cyprus", + "connect": { + "countries": [ + "Cyprus" + ], + "centuries": [], + "links": [], + "p31": [ + "Q29414133" + ], + "qid": "Q4831291", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 28, + "pctReach": 74, + "fame": 38, + "magnitude": 1 + }, + "description": "Place in Paphos District, Cyprus" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025124c9", + "pageId": 38872265, + "revisionId": 1370478726, + "title": "Ethel Post-Parrish", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Stub" + ], + "effects": [], + "rulesText": "Legacy, Stub.", + "flavor": "American Spiritualist medium (died 1960)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q15999505", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 23, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + }, + "description": "American Spiritualist medium (died 1960)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003c6d80f", + "pageId": 63363087, + "revisionId": 1385804220, + "title": "Keyontae Johnson", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Protected", + "Featured" + ], + "effects": [], + "rulesText": "Protected, Featured.", + "flavor": "American basketball player (born 2000)", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q88963854", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 90, + "pctDepth": 86, + "pctReach": 63, + "fame": 80, + "magnitude": 3 + }, + "description": "American basketball player (born 2000)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004606820", + "pageId": 73426976, + "revisionId": 1379304890, + "title": "Viniče", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Village in Skopje, North Macedonia", + "connect": { + "countries": [ + "North Macedonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q532" + ], + "qid": "Q3560281", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 6, + "pctDepth": 43, + "pctReach": 53, + "fame": 34, + "magnitude": 1 + }, + "description": "Village in Skopje, North Macedonia" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000e1834", + "pageId": 923700, + "revisionId": 1382030380, + "title": "Sainte-Foy-lès-Lyon", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Commune in Auvergne-Rhône-Alpes, France", + "connect": { + "countries": [ + "France" + ], + "centuries": [], + "links": [], + "p31": [ + "Q484170" + ], + "qid": "Q387460", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 38, + "pctReach": 97, + "fame": 69, + "magnitude": 3 + }, + "description": "Commune in Auvergne-Rhône-Alpes, France" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000003487d1", + "pageId": 3442641, + "revisionId": 1372311773, + "title": "Tidewater Provincial Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Provincial park in Ontario, Canada", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2006279" + ], + "qid": "Q7800881", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 42, + "pctDepth": 23, + "pctReach": 36, + "fame": 34, + "magnitude": 1 + }, + "description": "Provincial park in Ontario, Canada" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000004563e8", + "pageId": 4547560, + "revisionId": 1333227991, + "title": "Tracheal collapse", + "type": "Doctrine", + "subtype": "pathology", + "portal": "Science", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "figure", + "template": "T12" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": -2, + "toughness": -2, + "template": "T12" + } + ], + "rulesText": "Attach to target Figure. It gets −2/−2.", + "flavor": "Flattening of the trachea in animals", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q140427225" + ], + "qid": "Q2447482", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 81, + "pctDepth": 38, + "pctReach": 53, + "fame": 57, + "magnitude": 2 + }, + "description": "Flattening of the trachea in animals" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000d2549d", + "pageId": 13784221, + "revisionId": 1362220356, + "title": "Ellenborough Falls", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Waterfall on the Ellenborough River in New South Wales, Australia", + "connect": { + "countries": [ + "Australia", + "United Kingdom" + ], + "centuries": [], + "links": [], + "p31": [ + "Q34038" + ], + "qid": "Q3652636", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 64, + "pctDepth": 17, + "pctReach": 63, + "fame": 48, + "magnitude": 2 + }, + "description": "Waterfall on the Ellenborough River in New South Wales, Australia" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001fe7b62", + "pageId": 33454946, + "revisionId": 1270324661, + "title": "Tydeus Painter", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Ancient Greek vase painter", + "connect": { + "countries": [ + "Greece" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1747829" + ], + "qid": "Q2462577", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 14, + "pctDepth": 7, + "pctReach": 47, + "fame": 23, + "magnitude": 1 + }, + "description": "Ancient Greek vase painter" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002b548f0", + "pageId": 45435120, + "revisionId": 1384697951, + "title": "Yemọja", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 6, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Translated" + ], + "effects": [], + "rulesText": "Featured, Translated.", + "flavor": "Major water Orisha in the Yoruba religion", + "connect": { + "countries": [ + "Brazil" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1916821", + "Q290460", + "Q752920" + ], + "qid": "Q1477162", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 96, + "pctDepth": 86, + "pctReach": 89, + "fame": 90, + "magnitude": 3 + }, + "description": "Major water Orisha in the Yoruba religion" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000047e7091", + "pageId": 75395217, + "revisionId": 1378415983, + "title": "Hetifah Sjaifudian", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Indonesian activist and politician", + "connect": { + "countries": [ + "Indonesia", + "Singapore" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q96988706", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 77, + "pctReach": 36, + "fame": 53, + "magnitude": 2 + }, + "description": "Indonesian activist and politician" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000002f764e", + "pageId": 3110478, + "revisionId": 1376600347, + "title": "Laukhella", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Senja Municipality, Norway", + "connect": { + "countries": [ + "Norway" + ], + "centuries": [], + "links": [], + "p31": [ + "Q486972" + ], + "qid": "Q3218620", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 23, + "pctReach": 53, + "fame": 29, + "magnitude": 1 + }, + "description": "Village in Senja Municipality, Norway" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000768587", + "pageId": 7767431, + "revisionId": 1313900503, + "title": "Bufo stuarti", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of amphibian", + "connect": { + "countries": [ + "India" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q28032720", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 2, + "pctDepth": 0, + "pctReach": 74, + "fame": 25, + "magnitude": 1 + }, + "description": "Species of amphibian" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e314ca", + "pageId": 14881994, + "revisionId": 1377922091, + "title": "OR56B4", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 1, + "toughness": 1, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +1/+1.", + "flavor": "Protein-coding gene in the species Homo sapiens", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q18053061", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 11, + "pctDepth": 7, + "pctReach": 58, + "fame": 25, + "magnitude": 1 + }, + "description": "Protein-coding gene in the species Homo sapiens" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e25f63", + "pageId": 31612771, + "revisionId": 1364804505, + "title": "David Cullinane", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 4, + "toughness": 3, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Irish politician (born 1974)", + "connect": { + "countries": [ + "Ireland" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5232711", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 81, + "pctDepth": 68, + "pctReach": 36, + "fame": 62, + "magnitude": 2 + }, + "description": "Irish politician (born 1974)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002004071", + "pageId": 33570929, + "revisionId": 1374508115, + "title": "Grumbach (Werra)", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "River in Thuringia, Germany", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [], + "links": [], + "p31": [ + "Q4022" + ], + "qid": "Q826448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 2, + "pctDepth": 2, + "pctReach": 47, + "fame": 17, + "magnitude": 1 + }, + "description": "River in Thuringia, Germany" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002469bab", + "pageId": 38181803, + "revisionId": 1378220985, + "title": "Gábor Scheiring", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 3, + "power": 3, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Hungarian economist and politician", + "connect": { + "countries": [ + "Hungary" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q5625769", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 38, + "pctReach": 47, + "fame": 42, + "magnitude": 2 + }, + "description": "Hungarian economist and politician" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000030834b6", + "pageId": 50869430, + "revisionId": 1359436538, + "title": "Felt, Not Heard", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q1589009" + ], + "qid": "Q24885448", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 11, + "pctDepth": 17, + "pctReach": 8, + "fame": 12, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000036b0861", + "pageId": 57346145, + "revisionId": 1352289182, + "title": "Madura perfida", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of true bug", + "connect": { + "countries": [], + "centuries": [ + 19 + ], + "links": [], + "p31": [], + "qid": "Q10575176", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 1, + "pctDepth": 7, + "pctReach": 47, + "fame": 18, + "magnitude": 1 + }, + "description": "Species of true bug" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000000c07c1", + "pageId": 788417, + "revisionId": 1385635902, + "title": "Efrat (Israeli settlement)", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Israeli settlement in the West Bank", + "connect": { + "countries": [ + "Israel" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q1288520", + "Q582706", + "Q618123" + ], + "qid": "Q64053", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 89, + "pctDepth": 86, + "pctReach": 86, + "fame": 87, + "magnitude": 3 + }, + "description": "Israeli settlement in the West Bank" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000314a5b", + "pageId": 3230299, + "revisionId": 1368444919, + "title": "St. George's Island, Bermuda", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "One of the principal islands of Bermuda", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q23442" + ], + "qid": "Q1813379", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 76, + "pctDepth": 43, + "pctReach": 74, + "fame": 64, + "magnitude": 3 + }, + "description": "One of the principal islands of Bermuda" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000006ec6df", + "pageId": 7259871, + "revisionId": 1356897889, + "title": "National Association of Television Program Executives", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q163740" + ], + "qid": "Q6970789", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 48, + "pctReach": 36, + "fame": 47, + "magnitude": 2 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000021aa8db", + "pageId": 35301595, + "revisionId": 1357984673, + "title": "Schläfli double six", + "type": "Doctrine", + "subtype": "mathematics", + "portal": "Science", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "grant": [ + "Well-sourced" + ], + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2 and has Well-sourced.", + "flavor": "Arrangement of 30 points and 12 lines", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q24034552" + ], + "qid": "Q7431763", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 54, + "pctReach": 36, + "fame": 49, + "magnitude": 2 + }, + "description": "Arrangement of 30 points and 12 lines" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000234c209", + "pageId": 37011977, + "revisionId": 1339741732, + "title": "San Michele Arcangelo, Naples", + "type": "Location", + "subtype": null, + "portal": "Society", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Church in Naples, Italy", + "connect": { + "countries": [ + "Italy" + ], + "centuries": [ + 17 + ], + "links": [], + "p31": [ + "Q16970" + ], + "qid": "Q718623", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 14, + "pctDepth": 7, + "pctReach": 67, + "fame": 29, + "magnitude": 1 + }, + "description": "Church in Naples, Italy" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000249a814", + "pageId": 38381588, + "revisionId": 1366241182, + "title": "A. R. Poduval", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "Indian surgeon and artist", + "connect": { + "countries": [ + "Germany", + "India", + "United Kingdom" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q4648301", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 24, + "pctDepth": 59, + "pctReach": 8, + "fame": 30, + "magnitude": 1 + }, + "description": "Indian surgeon and artist" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002c76795", + "pageId": 46622613, + "revisionId": 1378272694, + "title": "Sarah Hoffman", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 5, + "power": 5, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Canadian politician (born 1980)", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q19862161", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 80, + "pctDepth": 73, + "pctReach": 36, + "fame": 63, + "magnitude": 3 + }, + "description": "Canadian politician (born 1980)" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000048da231", + "pageId": 76390961, + "revisionId": 1385442003, + "title": "2024–2026 Cuban protests", + "type": "Event", + "subtype": "conflict", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "damage", + "target": "figureOrLocation", + "amount": 4, + "template": "T3" + } + ], + "rulesText": "Deal 4 damage to target Figure or Location.", + "flavor": "Protests against the Cuban government", + "connect": { + "countries": [ + "Cuba" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q273120" + ], + "qid": "Q125000393", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 82, + "pctDepth": 89, + "pctReach": 58, + "fame": 76, + "magnitude": 3 + }, + "description": "Protests against the Cuban government" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000070b485", + "pageId": 7386245, + "revisionId": 1385017105, + "title": "The Leslie Uggams Show", + "type": "Institution", + "subtype": "work", + "portal": "Arts", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "draw", + "amount": 1, + "template": "T9" + }, + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 1, + "condition": { + "connected": true + }, + "template": "T9" + } + ], + "rulesText": "When this enters, draw a card.\nFigures you control that are Connected to this get +1/+1.", + "flavor": "1969 American TV series or program", + "connect": { + "countries": [ + "United Kingdom", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q5398426" + ], + "qid": "Q7746967", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 59, + "pctReach": 8, + "fame": 45, + "magnitude": 2 + }, + "description": "1969 American TV series or program" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000be57a1", + "pageId": 12474273, + "revisionId": 1380009301, + "title": "Iphis monarch", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Translated", + "Stub" + ], + "effects": [], + "rulesText": "Translated, Stub.", + "flavor": "Species of bird", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q692954", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 47, + "pctDepth": 17, + "pctReach": 87, + "fame": 50, + "magnitude": 2 + }, + "description": "Species of bird" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001289a8f", + "pageId": 19438223, + "revisionId": 1366832481, + "title": "Friedrich Kasimir Medikus", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 4, + "toughness": 1, + "territory": 0, + "keywords": [ + "Legacy", + "Translated" + ], + "effects": [], + "rulesText": "Legacy, Translated.", + "flavor": "German physician and botanist", + "connect": { + "countries": [ + "Germany" + ], + "centuries": [ + 18, + 19 + ], + "links": [], + "p31": [], + "qid": "Q77464", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 0, + "pctReach": 89, + "fame": 44, + "magnitude": 2 + }, + "description": "German physician and botanist" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002636619", + "pageId": 40068633, + "revisionId": 1362680935, + "title": "Wahconah Falls State Park", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Massachusetts state park", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q37998360" + ], + "qid": "Q14715969", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 27, + "pctDepth": 28, + "pctReach": 23, + "fame": 26, + "magnitude": 1 + }, + "description": "Massachusetts state park" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004db234b", + "pageId": 81470283, + "revisionId": 1384453410, + "title": "Presidential Anti-Organized Crime Commission", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Government agency in the Philippines", + "connect": { + "countries": [ + "Philippines" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q327333" + ], + "qid": "Q136773957", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 92, + "pctReach": 8, + "fame": 57, + "magnitude": 2 + }, + "description": "Government agency in the Philippines" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004f1c0b9", + "pageId": 82952377, + "revisionId": 1377598668, + "title": "Lichen community", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Earth", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 2, + "toughness": 2, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +2/+2.", + "flavor": "Recurring assemblage of lichen species and its classification in vegetation science", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q105442186", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 35, + "pctDepth": 95, + "pctReach": 8, + "fame": 46, + "magnitude": 2 + }, + "description": "Recurring assemblage of lichen species and its classification in vegetation science" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000017f942", + "pageId": 1571138, + "revisionId": 1367893707, + "title": "Ranks and insignia of the Nazi Party", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q13424724", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 96, + "pctDepth": 95, + "pctReach": 58, + "fame": 83, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001447617", + "pageId": 21263895, + "revisionId": 1377108521, + "title": "Przybędza", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Silesian Voivodeship, Poland", + "connect": { + "countries": [ + "Poland" + ], + "centuries": [], + "links": [], + "p31": [ + "Q3558970" + ], + "qid": "Q7253590", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 2, + "pctDepth": 2, + "pctReach": 71, + "fame": 25, + "magnitude": 1 + }, + "description": "Village in Silesian Voivodeship, Poland" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b2dc67", + "pageId": 28499047, + "revisionId": 1346615028, + "title": "Wu Songgao", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "", + "connect": { + "countries": [ + "China", + "Japan" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q5970557", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 31, + "pctDepth": 48, + "pctReach": 36, + "fame": 38, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001c3e576", + "pageId": 29615478, + "revisionId": 1359695857, + "title": "Rustan's", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "startOfTurn", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "condition": { + "maxTokens": 3 + }, + "template": "T8" + } + ], + "rulesText": "At the start of your turn, if you control fewer than 3 tokens, create a 1/1 Figure token named Staff Member.", + "flavor": "Philippine department store chain", + "connect": { + "countries": [ + "Philippines" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q4830453" + ], + "qid": "Q7382454", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 85, + "pctDepth": 83, + "pctReach": 23, + "fame": 64, + "magnitude": 3 + }, + "description": "Philippine department store chain" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000025e3602", + "pageId": 39728642, + "revisionId": 1373482944, + "title": "Wilkeson Arch", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "United States historic place", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2860026" + ], + "qid": "Q14713945", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 28, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + }, + "description": "United States historic place" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002b69213", + "pageId": 45519379, + "revisionId": 1290644518, + "title": "Maine State Route 144", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "State highway in Lincoln County, Maine, US", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q1788582" + ], + "qid": "Q19581200", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 54, + "pctReach": 23, + "fame": 28, + "magnitude": 1 + }, + "description": "State highway in Lincoln County, Maine, US" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003105e51", + "pageId": 51404369, + "revisionId": 1320623670, + "title": "Luis María Kreckler", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "", + "connect": { + "countries": [ + "Argentina", + "Brazil", + "China", + "Germany" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5983869", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 35, + "pctDepth": 43, + "pctReach": 23, + "fame": 34, + "magnitude": 1 + } + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000036c4579", + "pageId": 57427321, + "revisionId": 1372620649, + "title": "Corruption in Kazakhstan", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 3, + "toughness": 3, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +3/+3.", + "flavor": "", + "connect": { + "countries": [ + "Kazakhstan" + ], + "centuries": [], + "links": [], + "p31": [ + "Q74817647" + ], + "qid": "Q12981954", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 68, + "pctReach": 67, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003924b7e", + "pageId": 59919230, + "revisionId": 1365794761, + "title": "Trey Rhodes", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 2, + "power": 2, + "toughness": 1, + "territory": 0, + "keywords": [ + "Protected", + "Stub" + ], + "effects": [], + "rulesText": "Protected, Stub.", + "flavor": "American politician", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q61685757", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 14, + "pctReach": 8, + "fame": 27, + "magnitude": 1 + }, + "description": "American politician" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000508b134", + "pageId": 84455732, + "revisionId": 1379905236, + "title": "Streetsia challengeri", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 4, + "toughness": 2, + "territory": 0, + "keywords": [ + "Stub" + ], + "effects": [], + "rulesText": "Stub.", + "flavor": "Species of marine amphipod", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q4471202", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 23, + "pctReach": 53, + "fame": 42, + "magnitude": 2 + }, + "description": "Species of marine amphipod" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000000c16a", + "pageId": 49514, + "revisionId": 1372005331, + "title": "Henri Lebesgue", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Legacy" + ], + "effects": [], + "rulesText": "Featured, Legacy.", + "flavor": "French mathematician (1875–1941)", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q206005", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 90, + "pctDepth": 86, + "pctReach": 97, + "fame": 91, + "magnitude": 3 + }, + "description": "French mathematician (1875–1941)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000e13cb0", + "pageId": 14761136, + "revisionId": 1383624184, + "title": "RBMX", + "type": "Doctrine", + "subtype": "adopt", + "portal": "Science", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "attach", + "target": "ownFigure", + "template": "T11" + }, + { + "trigger": "static", + "op": "pump", + "target": "attached", + "power": 1, + "toughness": 1, + "template": "T11" + } + ], + "rulesText": "Attach to target Figure you control. It gets +1/+1.", + "flavor": "Protein-coding gene in humans", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q7187" + ], + "qid": "Q18038778", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 27, + "pctDepth": 64, + "pctReach": 23, + "fame": 38, + "magnitude": 1 + }, + "description": "Protein-coding gene in humans" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000044ec330", + "pageId": 72270640, + "revisionId": 1375465027, + "title": "Chaharbagh County", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "County in Alborz province, Iran", + "connect": { + "countries": [ + "Iran" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q137535" + ], + "qid": "Q107333581", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 38, + "pctDepth": 64, + "pctReach": 58, + "fame": 53, + "magnitude": 2 + }, + "description": "County in Alborz province, Iran" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000047b26e9", + "pageId": 75179753, + "revisionId": 1272327430, + "title": "2016 Queensland local elections", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 1, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + }, + "template": "T5" + } + ], + "rulesText": "Create a 1/1 Society Figure token named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "Australia" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q15966540" + ], + "qid": "Q115228225", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 21, + "pctDepth": 48, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004bbd0ce", + "pageId": 79417550, + "revisionId": 1377659696, + "title": "Region Östergötland", + "type": "Institution", + "subtype": "organisation", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Regional council of Östergötland County, Sweden", + "connect": { + "countries": [ + "Sweden" + ], + "centuries": [], + "links": [], + "p31": [ + "Q1754161", + "Q65196511", + "Q85164347" + ], + "qid": "Q3231915", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 58, + "pctDepth": 38, + "pctReach": 47, + "fame": 48, + "magnitude": 2 + }, + "description": "Regional council of Östergötland County, Sweden" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000004fb7786", + "pageId": 83588998, + "revisionId": 1380888360, + "title": "Kamil Oniszczuk", + "type": "Figure", + "subtype": null, + "portal": "Society", + "cost": 4, + "power": 3, + "toughness": 4, + "territory": 0, + "keywords": [ + "Protected" + ], + "effects": [], + "rulesText": "Protected.", + "flavor": "Polish mixed martial artist (born 1996)", + "connect": { + "countries": [ + "Brazil", + "Poland" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [], + "qid": "Q97373278", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 54, + "pctDepth": 83, + "pctReach": 23, + "fame": 53, + "magnitude": 2 + }, + "description": "Polish mixed martial artist (born 1996)" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000001f064", + "pageId": 127076, + "revisionId": 1384097001, + "title": "Hillburn, New York", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 3, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Village in New York, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q55237813", + "Q751708" + ], + "qid": "Q3452966", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 71, + "pctDepth": 68, + "pctReach": 87, + "fame": 75, + "magnitude": 3 + }, + "description": "Village in New York, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000042d2a", + "pageId": 273706, + "revisionId": 1385350039, + "title": "Pallas's cat", + "type": "Figure", + "subtype": null, + "portal": "Earth", + "cost": 6, + "power": 5, + "toughness": 5, + "territory": 0, + "keywords": [ + "Featured", + "Multilingual" + ], + "effects": [], + "rulesText": "Featured, Multilingual.", + "flavor": "Species of small wild cat", + "connect": { + "countries": [], + "centuries": [ + 18 + ], + "links": [], + "p31": [], + "qid": "Q166794", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 99, + "pctDepth": 97, + "pctReach": 99, + "fame": 98, + "magnitude": 3 + }, + "description": "Species of small wild cat" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001a702c7", + "pageId": 27722439, + "revisionId": 1368237133, + "title": "Cannon (band)", + "type": "Institution", + "subtype": "organisation", + "portal": "Arts", + "cost": 2, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Scottish post-rock band", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20, + 21 + ], + "links": [], + "p31": [ + "Q215380" + ], + "qid": "Q5032746", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 58, + "pctDepth": 43, + "pctReach": 8, + "fame": 36, + "magnitude": 1 + }, + "description": "Scottish post-rock band" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000003c754", + "pageId": 247636, + "revisionId": 1380730000, + "title": "Canadian Grand Prix", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 6, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 3, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "Formula One Grand Prix", + "connect": { + "countries": [ + "Canada" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q108886259", + "Q18608583" + ], + "qid": "Q7965", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 96, + "pctDepth": 96, + "pctReach": 97, + "fame": 96, + "magnitude": 3 + }, + "description": "Formula One Grand Prix" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000577b42", + "pageId": 5733186, + "revisionId": 1359130364, + "title": "1969 NFL Championship Game", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 3, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +3/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q27020041" + ], + "qid": "Q4573604", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 91, + "pctDepth": 81, + "pctReach": 36, + "fame": 69, + "magnitude": 3 + } + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000197515f", + "pageId": 26693983, + "revisionId": 1379250957, + "title": "2008 World Sprint Speed Skating Championships", + "type": "Event", + "subtype": "sport", + "portal": "Society", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "pump", + "target": "ownFigure", + "power": 2, + "toughness": 0, + "duration": "turn", + "template": "T6" + }, + { + "trigger": "onPlay", + "op": "fight", + "target": "opponentFigure", + "template": "T6" + } + ], + "rulesText": "Target Figure you control gets +2/+0 until end of turn, then it fights target Figure you don't control.", + "flavor": "International speed skating competition", + "connect": { + "countries": [ + "Netherlands" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q114609228" + ], + "qid": "Q1320203", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 77, + "pctReach": 71, + "fame": 51, + "magnitude": 2 + }, + "description": "International speed skating competition" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001b85b73", + "pageId": 28859251, + "revisionId": 1379439420, + "title": "Kõruse-Metsaküla", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "Village in Estonia", + "connect": { + "countries": [ + "Estonia" + ], + "centuries": [], + "links": [], + "p31": [ + "Q51049922" + ], + "qid": "Q3467661", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 23, + "pctReach": 71, + "fame": 33, + "magnitude": 1 + }, + "description": "Village in Estonia" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001e7779d", + "pageId": 31946653, + "revisionId": 1321146397, + "title": "Cody Floatplane", + "type": "Institution", + "subtype": "other", + "portal": "Science", + "cost": 4, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "static", + "op": "pump", + "target": "ownFigures", + "power": 1, + "toughness": 0, + "condition": { + "maxPower": 2 + }, + "template": "T10" + } + ], + "rulesText": "Figures you control with power 2 or less get +1/+0.", + "flavor": "", + "connect": { + "countries": [ + "United Kingdom" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [], + "qid": "Q5140425", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "category", + "basis": { + "pctAttention": 52, + "pctDepth": 59, + "pctReach": 47, + "fame": 53, + "magnitude": 2 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000002475ba8", + "pageId": 38230952, + "revisionId": 1383786404, + "title": "John Allen Midgett Jr.", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 3, + "power": 2, + "toughness": 3, + "territory": 0, + "keywords": [ + "Legacy", + "Local" + ], + "effects": [], + "rulesText": "Legacy, Local.", + "flavor": "United States Coast Guardsman", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q6218773", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 50, + "pctDepth": 59, + "pctReach": 8, + "fame": 39, + "magnitude": 2 + }, + "description": "United States Coast Guardsman" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000026196e4", + "pageId": 39950052, + "revisionId": 1271494308, + "title": "Texas State Guard Commanding General's Individual Award", + "type": "Institution", + "subtype": "organisation", + "portal": "Neutral", + "cost": 1, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onEnter", + "op": "createToken", + "amount": 1, + "token": { + "name": "Staff Member", + "power": 1, + "toughness": 1, + "portal": "Neutral" + }, + "template": "T8" + } + ], + "rulesText": "When this enters, create a 1/1 Figure token named Staff Member.", + "flavor": "Military decoration", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q618779" + ], + "qid": "Q17108726", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 6, + "pctDepth": 38, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + }, + "description": "Military decoration" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000292a898", + "pageId": 43165848, + "revisionId": 1380318087, + "title": "John Kane (Medal of Honor)", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 1, + "toughness": 2, + "territory": 0, + "keywords": [ + "Local" + ], + "effects": [], + "rulesText": "Local.", + "flavor": "Union Army soldier", + "connect": { + "countries": [ + "Ireland", + "United States" + ], + "centuries": [], + "links": [], + "p31": [], + "qid": "Q17479265", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 21, + "pctDepth": 23, + "pctReach": 8, + "fame": 17, + "magnitude": 1 + }, + "description": "Union Army soldier" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000046d99b5", + "pageId": 74291637, + "revisionId": 1380094218, + "title": "Pullman porter affair", + "type": "Event", + "subtype": "other", + "portal": "Society", + "cost": 3, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "draw", + "amount": 2, + "template": "T7" + } + ], + "rulesText": "Draw two cards.", + "flavor": "LGBT sex scandal in September 1940", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q2197458" + ], + "qid": "Q120123799", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 69, + "pctDepth": 73, + "pctReach": 8, + "fame": 50, + "magnitude": 2 + }, + "description": "LGBT sex scandal in September 1940" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000ca0a2e", + "pageId": 13240878, + "revisionId": 1373484295, + "title": "Lower Shavertown Bridge", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 1, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/1.", + "flavor": "United States historic place", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q1825472", + "Q537127" + ], + "qid": "Q6693791", + "cites": [] + }, + "rarity": "Epic", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 17, + "pctDepth": 17, + "pctReach": 8, + "fame": 14, + "magnitude": 1 + }, + "description": "United States historic place" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000001283431", + "pageId": 19412017, + "revisionId": 1385718836, + "title": "Andouin Aubert", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 5, + "territory": 0, + "keywords": [ + "Legacy" + ], + "effects": [], + "rulesText": "Legacy.", + "flavor": "French jurist, bishop and Cardinal", + "connect": { + "countries": [ + "France" + ], + "centuries": [ + 14 + ], + "links": [], + "p31": [], + "qid": "Q1351294", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 38, + "pctDepth": 77, + "pctReach": 71, + "fame": 62, + "magnitude": 2 + }, + "description": "French jurist, bishop and Cardinal" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000017a1788", + "pageId": 24778632, + "revisionId": 1373615936, + "title": "Storck Barracks", + "type": "Location", + "subtype": null, + "portal": "Neutral", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "US Army facility in Illesheim, Germany", + "connect": { + "countries": [ + "Germany", + "United States" + ], + "centuries": [ + 20 + ], + "links": [], + "p31": [ + "Q245016" + ], + "qid": "Q108337154", + "cites": [] + }, + "rarity": "Rare", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 76, + "pctDepth": 73, + "pctReach": 8, + "fame": 52, + "magnitude": 2 + }, + "description": "US Army facility in Illesheim, Germany" + }, + { + "cardId": "000000000000000000000000000000000000000000000000000000000252776f", + "pageId": 38958959, + "revisionId": 1364996502, + "title": "Genoese Batteries", + "type": "Location", + "subtype": null, + "portal": "Science", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Artillery batteries in Gibraltar", + "connect": { + "countries": [], + "centuries": [], + "links": [], + "p31": [ + "Q56344492" + ], + "qid": "Q16838634", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 9, + "pctDepth": 28, + "pctReach": 8, + "fame": 15, + "magnitude": 1 + }, + "description": "Artillery batteries in Gibraltar" + }, + { + "cardId": "00000000000000000000000000000000000000000000000000000000028e29f5", + "pageId": 42871285, + "revisionId": 1371391529, + "title": "Yente Serdatzky", + "type": "Figure", + "subtype": null, + "portal": "History", + "cost": 4, + "power": 2, + "toughness": 4, + "territory": 0, + "keywords": [ + "Legacy", + "Well-sourced" + ], + "effects": [], + "rulesText": "Legacy, Well-sourced.", + "flavor": "Russian-born American Yiddish-language writer (1877–1962)", + "connect": { + "countries": [ + "Russia", + "United States" + ], + "centuries": [ + 19, + 20 + ], + "links": [], + "p31": [], + "qid": "Q17018388", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "qid", + "basis": { + "pctAttention": 42, + "pctDepth": 89, + "pctReach": 23, + "fame": 51, + "magnitude": 2 + }, + "description": "Russian-born American Yiddish-language writer (1877–1962)" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003bf2818", + "pageId": 62859288, + "revisionId": 1373475244, + "title": "Waterman Place-Kingsbury Place-Washington Terrace Historic District", + "type": "Location", + "subtype": null, + "portal": "History", + "cost": 1, + "power": 0, + "toughness": 2, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/2.", + "flavor": "Historic district in Missouri, United States", + "connect": { + "countries": [ + "United States" + ], + "centuries": [], + "links": [], + "p31": [ + "Q15243209" + ], + "qid": "Q85814627", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 31, + "pctDepth": 38, + "pctReach": 8, + "fame": 26, + "magnitude": 1 + }, + "description": "Historic district in Missouri, United States" + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000003f5c331", + "pageId": 66437937, + "revisionId": 1382576557, + "title": "2021 New Jersey General Assembly election", + "type": "Event", + "subtype": "election", + "portal": "Society", + "cost": 5, + "power": null, + "toughness": null, + "territory": 0, + "keywords": [], + "effects": [ + { + "trigger": "onPlay", + "op": "createToken", + "amount": 3, + "token": { + "name": "Elected Member", + "power": 1, + "toughness": 1, + "portal": "Society" + }, + "template": "T5" + } + ], + "rulesText": "Create three 1/1 Society Figure tokens named Elected Member.", + "flavor": "", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 21 + ], + "links": [], + "p31": [ + "Q2618461" + ], + "qid": "Q105319974", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 77, + "pctDepth": 99, + "pctReach": 23, + "fame": 66, + "magnitude": 3 + } + }, + { + "cardId": "0000000000000000000000000000000000000000000000000000000000020090", + "pageId": 131216, + "revisionId": 1378756902, + "title": "Madison Township, Armstrong County, Pennsylvania", + "type": "Location", + "subtype": null, + "portal": "Earth", + "cost": 2, + "power": 0, + "toughness": 3, + "territory": 1, + "keywords": [], + "effects": [], + "rulesText": "Territory.\nGarrison 0/3.", + "flavor": "Township in Pennsylvania, US", + "connect": { + "countries": [ + "United States" + ], + "centuries": [ + 19 + ], + "links": [], + "p31": [ + "Q9035798" + ], + "qid": "Q655024", + "cites": [] + }, + "rarity": "Common", + "deriveVersion": "duel-derive-1", + "typedBy": "p31", + "basis": { + "pctAttention": 35, + "pctDepth": 64, + "pctReach": 67, + "fame": 55, + "magnitude": 2 + }, + "description": "Township in Pennsylvania, US" + } + ] +} diff --git a/docs/night2/WIKIMEDIA.md b/docs/night2/WIKIMEDIA.md new file mode 100644 index 0000000..3979092 --- /dev/null +++ b/docs/night2/WIKIMEDIA.md @@ -0,0 +1,72 @@ +# Polite Wikimedia client (Night 2, issue #62) + +Every server-side Wikimedia request goes through one process-wide `WikimediaClient` +(`server/wikimedia/client.ts`). The design comes from engineer review §4 and data review §5. + +## What it does + +| Behaviour | Default | +|---|---| +| Rate per upstream host (`en.wikipedia.org`, `wikimedia.org`, `www.wikidata.org`) | token bucket, 1 req/s, burst 3 | +| Concurrency | 1 request in flight per host | +| Priority lanes | `mint` → `interactive` → `background`; the queue holds 64 waiters, and background work is shed first | +| Longest queue wait | mint 10 s, interactive 5 s, background 120 s | +| `maxlag` | `maxlag=5` on every Action API request; a maxlag reply waits for `Retry-After` and retries up to 2 times | +| 429 / 503 | honour `Retry-After` (seconds or HTTP date), else back off 2ⁿ s with jitter, capped at 10 min, by pausing the whole host | +| Circuit breaker | 3 consecutive 429s stop that host for 10 min. Requests are refused at once without touching Wikimedia | +| Daily cap | 20,000 requests a day per egress IP. Background work stops at 80 %, interactive at 100 %; mint has a 10 % reserve | +| Disk cache | `$WIKIDECK_DATA_DIR/wikimedia-cache.sqlite`: ETag / Last-Modified, `If-None-Match`, stale-while-revalidate on the background lane, stale copy served on refusal | +| User-Agent | `WikiDeck/ (+https://gitea.eom.dev/WikiDeck/wikideck; ) node/` | + +The rate is deliberately 1 req/s for **every** host, including the `wikimedia.org` REST (pageviews) host. +The engineer review suggested 5 req/s there; we are stricter on purpose after the Night 1 rate limiting, because the +budget is per egress IP. Raise it only with a reason and a per-host setting. + +Cache lifetimes: article metadata 24 h, monthly pageviews 7 days (the URL names six closed +months, which do not change). Random articles and all mint reads are never cached. + +## Operator settings + +| Variable | Meaning | +|---|---| +| `WIKIDECK_OPERATOR_CONTACT` | **Set this.** An email address or URL, put in the User-Agent. Without it (and without `PUBLIC_ORIGIN`), the node logs a warning at start-up. Wikimedia policy requires a contact, and contact-less clients are the first to be blocked. | +| `PUBLIC_ORIGIN` | Used as the contact when `WIKIDECK_OPERATOR_CONTACT` is unset. | +| `WIKIDECK_USER_AGENT` | Overrides the whole User-Agent string (sanitized; kept from Night 1). | +| `WIKIDECK_WIKIMEDIA_RPS` | Requests per second per host for the **whole egress IP** (default 1). | +| `WIKIDECK_WIKIMEDIA_BURST` | Token-bucket burst (default 3). | +| `WIKIDECK_WIKIMEDIA_CONCURRENCY` | In-flight requests per host (default 1). | +| `WIKIDECK_WIKIMEDIA_DAILY_CAP` | Requests per UTC day for the whole egress IP (default 20000). | +| `WIKIDECK_WIKIMEDIA_NODES_PER_IP` | How many nodes share this egress IP. The rate and the daily cap are divided by it. **The testnet runs several nodes behind one IP: set it to the node count** (e.g. 3 for `deploy/night/compose.lan.yaml`). | + +The testnet's `WIKIDECK_USER_AGENT` already names the project URL, which satisfies the policy. + +Counters (`lane.*`, `http.429`, `breaker.open`, `cache.hit`, `refused.*`, …), per-host pause state and the +mint pool's state are in the private operations listener's `/status`, under `wikimedia`. + +## Mint path: transport only + +- `random()` (W1) and `getFresh()` (W2 and W3) keep their request parameters byte-identical. The only + addition is `maxlag=5`, which changes only error behaviour. `tests/wikimedia-mint.test.ts` pins the exact URLs. +- Mint reads use the `mint` lane and **never** read or write the disk cache, and never join a display read. +- **Fixed:** a 429, 5xx, timeout, network error or non-JSON reply on the pageviews call used to mint a card with + `attention: null` forever (`enrichment.ts`). Now `getFresh()` rejects, the template returns 503 and the miner + retries. `unavailable` is minted only for a genuine 404 (no data) or missing months. +- No block, transfer, trade or validation code changed. Validation never calls Wikimedia. + +## Mining prefetch pool (`server/wikimedia/pool.ts`) + +Each template used to cost 3+ requests, all in a burst at each new tip, so load scaled with the number of miners. +Now every template on the same tip gets the same fresh article+snapshot pair (miners race for one block anyway), +and a new tip takes the next prefetched pair. Load is about one pair, or 3 requests, per block, whatever the number +of miners. + +- Pairs come from the mint-path reads above, and the snapshot is stamped when the pair is fetched, so `capturedAt` is true. +- Pairs older than 5 minutes are dropped, never served. +- The pool (2 pairs) refills only after use, so an idle node makes no requests. + +## Card faces + +`/api/wikipedia/:id` → `get()`: memory LRU, then the disk cache (fresh, or stale with a background +revalidation), and only then the interactive lane. A grid of cards therefore no longer means a burst +of 2 upstream requests per card per render. `TrendCache` can use `getBackground()` to stay off the +interactive lane. diff --git a/scripts/duel-card-sample.ts b/scripts/duel-card-sample.ts new file mode 100644 index 0000000..31bc49c --- /dev/null +++ b/scripts/duel-card-sample.ts @@ -0,0 +1,32 @@ +/** + * Writes docs/game/duel-card-sample.json (card-sample.json → DuelCard[]) and prints the + * type / Portal / cost / keyword distributions. Offline. Usage: + * node --experimental-strip-types scripts/duel-card-sample.ts [--check] + * --check exits non-zero if the committed fixture is out of date. + */ +import { readFileSync, writeFileSync } from 'node:fs'; +import { deriveSample, type SampleCard } from '../shared/duel/sample.ts'; +import { DERIVE_VERSION } from '../shared/duel/derive.ts'; + +const root = new URL('../', import.meta.url); +const sample = JSON.parse(readFileSync(new URL('docs/game/card-sample.json', root), 'utf8')) as { cards: SampleCard[] }; +const cards = deriveSample(sample.cards); +const out = JSON.stringify({ source: 'docs/game/card-sample.json', deriveVersion: DERIVE_VERSION, count: cards.length, cards }, null, 1) + '\n'; +const path = new URL('docs/game/duel-card-sample.json', root); + +const tally = (f: (c: typeof cards[number]) => string | number) => { + const m = new Map(); + for (const c of cards) m.set(f(c), (m.get(f(c)) ?? 0) + 1); + return [...m].sort((a, b) => String(a[0]).localeCompare(String(b[0]), 'en', { numeric: true })) + .map(([k, v]) => `${k} ${v} (${(100 * v / cards.length).toFixed(1)}%)`).join(', '); +}; +console.log('type:', tally(c => c.type)); +console.log('typedBy:', tally(c => c.typedBy)); +console.log('portal:', tally(c => c.portal)); +console.log('cost:', tally(c => c.cost)); +console.log('subtype:', tally(c => `${c.type}/${c.subtype ?? '-'}`)); +console.log('keywords:', tally(c => c.keywords.join('+') || 'none')); + +if (process.argv.includes('--check')) { + if (readFileSync(path, 'utf8') !== out) { console.error('duel-card-sample.json is stale'); process.exit(1); } +} else writeFileSync(path, out); diff --git a/server/account/router.ts b/server/account/router.ts index 9fe0530..44c8a36 100644 --- a/server/account/router.ts +++ b/server/account/router.ts @@ -12,12 +12,28 @@ export type AccountDeps = { config?: OidcConfig; keys?: DexKeys; store?: Account type Authed = Request & { account?: Account }; const hex64 = z.string().regex(/^[a-f0-9]{64}$/); +/** + * Verifies a Dex ID token and records the account. Shared with the game routes + * (server/game/collection.ts, the PvP host) so every route uses the same store and keys. + * Throws TokenError (status 401) for a bad token; other errors mean Dex is unreachable. + */ +export function accountVerifier(config: OidcConfig, keys: Pick, store: Pick, + now: () => number = Date.now): (idToken: string) => Promise { + return async idToken => { + const claims = await verifyIdToken(idToken, keys, config, { now: now() }); + const account: Account = { sub: claims.sub, issuer: claims.iss, name: displayName(claims), username: claims.preferred_username ?? '' }; + store.upsert(account); + return account; + }; +} + export function createAccountRouter(deps: AccountDeps = {}): Router { const config = deps.config ?? oidcConfig(); const now = deps.now ?? Date.now; const keys = deps.keys ?? new DexKeys(config, deps.fetcher, now); const store = deps.store ?? new AccountStore(resolve(deps.dataDir ?? 'data', 'accounts.sqlite'), now); const router = Router(); + const verify = accountVerifier(config, keys, store, now); const toAccount = (claims: Awaited>): Account => ({ sub: claims.sub, issuer: claims.iss, name: displayName(claims), username: claims.preferred_username ?? '' }); @@ -26,8 +42,7 @@ export function createAccountRouter(deps: AccountDeps = {}): Router { try { const m = /^Bearer ([A-Za-z0-9_.-]+)$/.exec(req.get('authorization') ?? ''); if (!m) throw new TokenError('Log in with your eom.dev account'); - req.account = toAccount(await verifyIdToken(m[1], keys, config, { now: now() })); - store.upsert(req.account); + req.account = await verify(m[1]); next(); } catch (e) { next(e); } }; diff --git a/server/enrichment.ts b/server/enrichment.ts index fa7175a..ed55cdf 100644 --- a/server/enrichment.ts +++ b/server/enrichment.ts @@ -1,5 +1,5 @@ import { z } from 'zod'; -import { ENRICHMENT_USER_AGENT, wikimediaUserAgent } from './wikimedia-user-agent.ts'; +import { WikimediaClient, WikimediaUnavailable, wikimediaClient, type CachePolicy, type Lane } from './wikimedia/client.ts'; import { deriveStats, type PageEnrichment } from '../shared/enrichment.ts'; const MAX_BYTES = 1024 * 1024; @@ -25,7 +25,23 @@ const viewsSchema = z.object({ items: z.array(z.object({ })).max(6) }); type CacheEntry = { expires: number; value: PageEnrichment } | { expires: number; error: Error }; -type Options = { fetch?: typeof globalThis.fetch; now?: () => Date; ttlMs?: number; maxEntries?: number }; +type Options = { fetch?: typeof globalThis.fetch; client?: WikimediaClient; now?: () => Date; ttlMs?: number; maxEntries?: number }; +type Mode = 'mint' | 'display' | 'background'; + +/** Disk-cache lifetimes (engineer review §4). Mint reads never use the cache. */ +const METADATA_CACHE: CachePolicy = { ttlMs: 24 * 3600_000, staleWhileRevalidate: true, maxBytes: MAX_BYTES }; +// The URL names its six completed months, which are immutable; a week bounds late corrections. +const PAGEVIEWS_CACHE: CachePolicy = { ttlMs: 7 * 24 * 3600_000, staleWhileRevalidate: true, maxBytes: MAX_BYTES }; +const NOT_FOUND = Symbol('not found'); + +/** The upstream did not answer properly (throttled, 5xx, timeout, network, non-JSON). Not "no data". */ +export class UpstreamFailure extends Error { + constructor(message: string) { super(message); this.name = 'UpstreamFailure'; } +} +function transportFailure(error: unknown): boolean { + return error instanceof WikimediaUnavailable || error instanceof UpstreamFailure || + (error instanceof DOMException && (error.name === 'TimeoutError' || error.name === 'AbortError')); +} function monthWindow(now: Date): string[] { return Array.from({ length: 6 }, (_, index) => @@ -34,16 +50,17 @@ function monthWindow(now: Date): string[] { /** Fixed-source read-only enrichment; no consensus, persistence, URL or header inputs. */ export class WikipediaEnrichment { - private readonly fetcher: typeof globalThis.fetch; + private readonly client: WikimediaClient; private readonly now: () => Date; private readonly ttlMs: number; private readonly maxEntries: number; private readonly cache = new Map(); - private readonly pending = new Map>(); + private readonly pending = new Map>(); private active = 0; + private mintActive = 0; constructor(options: Options = {}) { - this.fetcher = options.fetch ?? globalThis.fetch; + this.client = options.client ?? (options.fetch ? WikimediaClient.unthrottled(options.fetch) : wikimediaClient); this.now = options.now ?? (() => new Date()); this.ttlMs = options.ttlMs ?? 6 * 60 * 60 * 1000; this.maxEntries = options.maxEntries ?? 128; @@ -53,16 +70,27 @@ export class WikipediaEnrichment { } } + /** Card faces (`/api/wikipedia/:id`): memory, then the disk cache, then the interactive lane. */ async get(pageId: number): Promise { - return this.loadCached(pageId, false); + return this.loadCached(pageId, 'display'); } - /** Bypass cached values when the result is being pinned into a newly minted block. */ + /** Like get(), on the background lane: for trends and other work nobody is waiting on. */ + async getBackground(pageId: number): Promise { + return this.loadCached(pageId, 'background'); + } + + /** + * Mint data: bypasses every cache and uses the mint lane. If pageviews fail in transport + * (429, 5xx, timeout, throttled), this rejects so the template fails and the miner retries; + * `unavailable` is recorded only for a genuine 404 or missing data. + */ async getFresh(pageId: number): Promise { - return this.loadCached(pageId, true); + return this.loadCached(pageId, 'mint'); } - private async loadCached(pageId: number, fresh: boolean): Promise { + private async loadCached(pageId: number, mode: Mode): Promise { + const fresh = mode === 'mint'; if (!Number.isSafeInteger(pageId) || pageId <= 0) throw new RangeError('Invalid Wikipedia page ID'); const now = this.now(); const cached = this.cache.get(pageId); @@ -73,23 +101,29 @@ export class WikipediaEnrichment { if ('error' in cached) throw cached.error; return structuredClone(cached.value); } - this.cache.delete(pageId); - const existing = this.pending.get(pageId); + if (!fresh) this.cache.delete(pageId); + // Mint jobs never join a display job: that one may be served from the disk cache. + const pendingKey = `${fresh ? 'mint' : 'cached'}:${pageId}`; + const existing = this.pending.get(pendingKey); if (existing) return structuredClone(await existing); // Reject immediately: no unbounded waiting queue. Four active jobs also keep // the pending-map ceiling of eight conservative (one upstream request/job). - if (this.pending.size >= 8 || this.active >= 4) throw new Error('Wikipedia enrichment busy'); - this.active++; - const job = this.load(pageId, now).then(value => { + // Mint jobs have their own small allowance so card faces can never starve a template. + if (fresh ? this.mintActive >= 2 : this.pending.size - this.mintActive >= 8 || this.active >= 4) { + throw new Error('Wikipedia enrichment busy'); + } + if (fresh) this.mintActive++; else this.active++; + const job = this.load(pageId, now, mode).then(value => { const ttl = value.pageviews.status === 'available' ? this.ttlMs : Math.min(this.ttlMs, 5 * 60 * 1000); this.remember(pageId, { value, expires: this.now().getTime() + ttl }); return value; }, () => { const error = new Error('Wikipedia page enrichment unavailable'); - this.remember(pageId, { error, expires: this.now().getTime() + 30_000 }); + // A failed mint read says nothing new about display data; keep any cached value. + if (!fresh) this.remember(pageId, { error, expires: this.now().getTime() + 30_000 }); throw error; - }).finally(() => { this.active--; this.pending.delete(pageId); }); - this.pending.set(pageId, job); + }).finally(() => { if (fresh) this.mintActive--; else this.active--; this.pending.delete(pendingKey); }); + this.pending.set(pendingKey, job); return structuredClone(await job); } @@ -99,16 +133,19 @@ export class WikipediaEnrichment { while (this.cache.size > this.maxEntries) this.cache.delete(this.cache.keys().next().value!); } - private async json(url: URL): Promise { - const signal = AbortSignal.timeout(6000); - const response = await this.fetcher(url, { signal, redirect: 'error', - headers: { Accept: 'application/json', 'User-Agent': wikimediaUserAgent(ENRICHMENT_USER_AGENT) } }); + private async json(url: URL, lane: Lane, cache: CachePolicy | undefined, allowNotFound = false): Promise { + const { response, signal } = await this.client.request(url, { lane, timeoutMs: 6000, cache }); + if (allowNotFound && response.status === 404) { await response.body?.cancel(); return NOT_FOUND; } + if (!response.ok || response.redirected) { + await response.body?.cancel(); + throw new UpstreamFailure(`Upstream HTTP ${response.status}`); + } const length = response.headers.get('content-length'); - if (!response.ok || response.redirected || + if ( !/^application\/json(?:\s*;|\s*$)/i.test(response.headers.get('content-type') ?? '') || (length !== null && (!/^\d+$/.test(length) || Number(length) > MAX_BYTES)) || !response.body) { await response.body?.cancel(); - throw new Error('Invalid upstream response'); + throw new UpstreamFailure('Invalid upstream response'); } const reader = response.body.getReader(); const chunks: Uint8Array[] = []; @@ -130,12 +167,14 @@ export class WikipediaEnrichment { } } - private async load(pageId: number, now: Date): Promise { + private async load(pageId: number, now: Date, mode: Mode): Promise { + const lane: Lane = mode === 'mint' ? 'mint' : mode === 'display' ? 'interactive' : 'background'; + const fresh = mode === 'mint'; const url = new URL('https://en.wikipedia.org/w/api.php'); url.search = new URLSearchParams({ action: 'query', format: 'json', formatversion: '2', pageids: String(pageId), prop: 'info|categories|pageprops|description|langlinks', clshow: '!hidden', cllimit: '50', lllimit: '500', ppprop: 'wikibase_item' }).toString(); - const metadata = metadataSchema.parse(await this.json(url)); + const metadata = metadataSchema.parse(await this.json(url, lane, fresh ? undefined : METADATA_CACHE)); const page = metadata.query.pages[0]; if (page.pageid !== pageId) throw new Error('Wikipedia page ID mismatch'); const months = monthWindow(now); @@ -146,7 +185,9 @@ export class WikipediaEnrichment { const title = encodeURIComponent(page.title.replace(/ /g, '_')); const stamp = (month: string) => `${month.replace('-', '')}0100`; const endpoint = new URL(`https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/en.wikipedia.org/all-access/user/${title}/monthly/${stamp(months[0])}/${stamp(latestMonth)}`); - const result = viewsSchema.parse(await this.json(endpoint)); + const raw = await this.json(endpoint, lane, fresh ? undefined : PAGEVIEWS_CACHE, true); + if (raw === NOT_FOUND) throw new Error('No pageview data'); + const result = viewsSchema.parse(raw); const byMonth = new Map(); for (const item of result.items) { const month = `${item.timestamp.slice(0, 4)}-${item.timestamp.slice(4, 6)}`; @@ -161,7 +202,11 @@ export class WikipediaEnrichment { const days = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), 0)).getUTCDate(); pageviews = { status: 'available', months: ordered, latestMonth, total, dailyAverage: latest / days, trendPercent: prior > 0 ? (latest - prior) / prior * 100 : null }; - } catch { /* Metadata remains useful; unknown views must not become fake zeroes. */ } + } catch (error) { + // Mint: a throttled or failed upstream must not pin `attention: null` into a block forever. + if (fresh && transportFailure(error)) throw error; + /* Metadata remains useful; unknown views must not become fake zeroes. */ + } return { pageId, title: page.title, description: page.description ?? null, wikidataId: page.pageprops?.wikibase_item ?? null, revisionId: page.lastrevid, pageBytes: page.length, languageCount: page.langlinks?.length ?? 0, languagesTruncated: metadata.continue?.llcontinue !== undefined, diff --git a/server/game/collection.ts b/server/game/collection.ts new file mode 100644 index 0000000..e000c91 --- /dev/null +++ b/server/game/collection.ts @@ -0,0 +1,76 @@ +/** + * GET /api/game/collection Authorization: Bearer [?minConfirmations=N] + * + * Every card the account's linked wallets own (no 128-block cap) and whether that is enough to + * build a deck. Eligibility counts the copy limit: 40 copies of one article is 4 playable cards. + */ +import { Router, type Request, type Response } from 'express'; +import { DeckError, collectionAt, ownershipRules, playableCount, verifyAccount, + type ChainCard, type OwnershipDeps, type OwnershipRules } from './ownership.ts'; + +export type CollectionResponse = { + tip: string; + wallets: string[]; + deckSize: number; + /** Max copies per pageId. `maxCopiesPerPage` is the same value under the ruleset's name. */ + copyLimit: number; + maxCopiesPerPage: number; + minConfirmations: number; + /** Confirmed cards across all linked wallets. */ + owned: number; + /** Σ min(copies, copyLimit) per pageId: the most cards a legal deck can draw from. */ + playable: number; + /** max(0, deckSize - playable). */ + needed: number; + /** playable >= deckSize. */ + eligible: boolean; + /** `duel` is present when the server has a frozen profile for the card (see collectionRouter's `duelCard`). */ + cards: (ChainCard & { duel?: unknown })[]; +}; + +export function collectionResponse(deps: Pick, sub: string, + rules?: Partial): CollectionResponse { + const r = ownershipRules(rules); + const { tip, wallets, cards } = collectionAt(deps, { sub }, { minConfirmations: r.minConfirmations }); + const playable = playableCount(cards, r.maxCopiesPerPage); + return { tip, wallets, deckSize: r.deckSize, copyLimit: r.maxCopiesPerPage, maxCopiesPerPage: r.maxCopiesPerPage, + minConfirmations: r.minConfirmations, owned: cards.length, playable, needed: Math.max(0, r.deckSize - playable), + eligible: playable >= r.deckSize, cards }; +} + +export type CollectionRouterDeps = OwnershipDeps & { + rules?: Partial; + /** + * Optional: the same chain card → duel card function the PvP host uses, so the browser shows and + * plays exactly what PvP would. Return undefined while a card's profile is pending; it must not fetch. + */ + duelCard?: (card: ChainCard) => unknown; +}; + +export function collectionRouter(deps: CollectionRouterDeps): Router { + const router = Router(); + router.get('/', async (req: Request, res: Response) => { + res.setHeader('Cache-Control', 'no-store'); + const q = req.query.minConfirmations; + if (q !== undefined && (typeof q !== 'string' || !/^[1-9]\d{0,3}$/.test(q))) { res.status(400).json({ error: 'Invalid minConfirmations' }); return; } + const m = /^Bearer ([A-Za-z0-9_.-]{1,8192})$/.exec(req.get('authorization') ?? ''); + try { + const account = await verifyAccount(deps, m?.[1]); + const body = collectionResponse(deps, account.sub, { ...deps.rules, ...(q ? { minConfirmations: Number(q) } : {}) }); + if (deps.duelCard) { + const toDuel = deps.duelCard; + body.cards = body.cards.map(c => { + let duel: unknown; + try { duel = toDuel(c); } catch { duel = undefined; } + return duel === undefined ? c : { ...c, duel }; + }); + } + res.json(body); + } catch (e) { + const err = e as Error & { status?: number }; + const status = e instanceof DeckError ? err.status! : err.status === 503 ? 503 : 500; + res.status(status).json({ error: status === 500 ? 'Collection unavailable' : err.message }); + } + }); + return router; +} diff --git a/server/game/engine-port.ts b/server/game/engine-port.ts index 74b50b7..8d0cd53 100644 --- a/server/game/engine-port.ts +++ b/server/game/engine-port.ts @@ -40,4 +40,32 @@ export interface EnginePort