# Drawstep — Flesh and Blood: table model (ruleset) Generated from Drawstep's game registry (engine id `fab`). Wiki page: https://drawstep.xyz/wiki/fab · this document: https://drawstep.xyz/wiki/drawstep-fab-ai-pack.md. Each player is a hero with a life total and an intellect, armed with weapons and equipment, attacking with cards they pay for by pitching others. The library has every printing from the community's card database (names carry the pitch colour, so copy limits count each colour apart). Assisted tables set up life and intellect from the hero, run the action point and the End Phase (pitch to the bottom, ready, draw up to intellect) and check life; attacks, the combat chain, blocking and pitching are resolved by the players. ## How a table plays FaB Tables offer **assisted** play — the free table plus FaB's ruleset — and **free** play (no rules at all). Card text is never executed: it is shown on the card and resolved by the players. The ruleset is plain data in `packages/game-registry/src/games/fab.ts`, run by `RulesetTable` (`packages/engine/src/ruleset.ts`). Turn: Start → Action (main) → End. Only the player whose turn it is moves it on (Next phase / End turn); automatic phases pass by themselves. What the table does by itself: - Sets each hero's life and intellect from the hero card and draws up to intellect. - Start Phase: the turn player gets 1 action point. - End Phase: pitched cards go to the bottom of the deck, the turn player's cards ready, resources and action points empty, and they draw up to their intellect. - A hero whose life reaches 0 loses. What the players do by hand: - Pitching cards for resources (move them to the pitch zone and add to Resources) - Building the combat chain: attacks, defending cards, reactions, Go again - Arsenal at the end of the turn How a game is won: - A hero's life reaches 0 (the table checks the life counter). The publisher's rules: https://rules.fabtcg.com/ · official cards from the-fab-cube flesh-and-blood-cards (https://github.com/the-fab-cube/flesh-and-blood-cards) · card pictures: Legend Story Studios' card images, hosted by this server. ## Card format A FaB card is a card definition with `"game": "fab"` and a `tcg` payload — the printed data the ruleset reads (its category, its cost, the numbers on it). Cards are plain data: put the printed text in `text`; do **not** invent ability JSON. ```json { "id": "my-card", "name": "My Card", "game": "fab", "source": "custom", "types": [ "Hero" ], "subtypes": [ "Trait" ], "colors": [ "Red" ], "text": "Printed rules text.", "tcg": { "category": "Hero", "cost": 2, "stats": { "pitch": 1, "power": 1, "defense": 1, "life": 1, "intellect": 1 }, "attributes": [ "Red" ], "traits": [ "Trait" ] }, "image": { "normal": "https://… (optional full-card image)" } } ``` Fields (the Card Studio's form): `attributes` (Pitch colour: Red / Yellow / Blue; Action, Attack Reaction, Defense Reaction, Instant, Resource only), `cost` (Cost; Action, Attack Reaction, Defense Reaction, Instant only), `stats.pitch` (Pitch; Action, Attack Reaction, Defense Reaction, Instant, Resource only), `stats.power` (Power; Action, Weapon only), `stats.defense` (Defense; Action, Defense Reaction, Equipment, Instant only), `stats.life` (Life; Hero only), `stats.intellect` (Intellect; Hero only), `traits` (Class / talent / subtypes), `keywords` (Keywords), `text` (Text). Categories: Hero, Action, Attack Reaction, Defense Reaction, Instant, Weapon, Equipment, Resource. ## Zones | Zone | Label | Kind | Visibility | Notes | |---|---|---|---|---| | `library` | Deck | pile | hidden | ordered | | `hand` | Hand | hand | owner | | | `hero` | Hero | slots | public | 1 slot | | `equipment` | Weapons & equipment | row | public | | | `arena` | Arena | surface | public | | | `chain` | Combat chain | row | public | ordered · shared | | `pitch` | Pitch zone | row | public | | | `arsenal` | Arsenal | pile | owner | | | `graveyard` | Graveyard | pile | public | ordered | | `banished` | Banished | pile | public | | | `sideboard` | Inventory | pile | owner | | Hand zone: `hand` · library: `library` · main surface: `arena` · discard: `graveyard`. Seats: 2 / 3 / 4. ## Counters - `life` — Life, starts at 20 (primary) - `resources` — Resources, starts at 0 - `ap` — Action points, starts at 0 - `intellect` — Intellect, starts at 4 ## Phases Start → Action → End ## Deck rules A deck list is `{ "name", "engine": "fab", "format", "zones": { "": ["", …] } }`; copies are repeated ids. Formats: | Format | Zones (min–max, allowed types) | Max copies | Notes | |---|---|---|---| | Classic Constructed | Hero (`hero`): 1–1, Hero; Deck (`main`): 60+; Weapons & equipment (`equipment`): 0+; Inventory (`side`): 0+ | 3 | legality: cc | | Blitz | Hero (`hero`): 1–1, Hero; Deck (`main`): 40–40; Weapons & equipment (`equipment`): 0+; Inventory (`side`): 0+ | 1 | legality: blitz | | Commoner | Hero (`hero`): 1–1, Hero; Deck (`main`): 40–40; Weapons & equipment (`equipment`): 0+; Inventory (`side`): 0+ | 2 | legality: commoner | | Custom | Hero (`hero`): 0–1; Deck (`main`): 1+; Weapons & equipment (`equipment`): 0+; Inventory (`side`): 0+ | 99 | | ## Card adapter Types: Hero, Action, Attack Reaction, Defense Reaction, Instant, Weapon, Equipment, Resource, Token · resource: Cost · stats: Power / Defense · colors: Red, Yellow, Blue.