# Drawstep — Union Arena TCG: table model Generated from Drawstep's game registry (engine id `unionarena`). Wiki page: https://drawstep.xyz/wiki/unionarena · this document: https://drawstep.xyz/wiki/drawstep-unionarena-ai-pack.md. Each player builds a 50-card deck from a single series and battles with characters on a front line and an energy line, paying AP and meeting energy requirements, until the opponent's 7 Life cards run out. Enforced and assisted tables run the whole game on the TCG engine kit: the opening, the Start phase (active, AP for the turn, draw, an extra draw for 1 AP), movement and Step, required energy and AP costs, Raid, attacks with Snipe, blocks, battles, Impact, Damage, Double Attack / Block, Nullify Impact, damage with Life triggers, the end-phase hand limit and every win condition. Card text runs from the translator; a sentence it cannot read is a step the player resolves by hand. Tables offer **enforced** and **assisted** play on the TCG engine kit and **free** play. The engine runs the whole game and the cards' text; a sentence it can't read yet is a step resolved by hand. Wiki: https://drawstep.xyz/wiki/unionarena/rules · https://drawstep.xyz/wiki/unionarena/card-text · https://drawstep.xyz/wiki/unionarena/coverage. ## The game, as the engine runs it Union Arena is played by two players, each with a 50-card deck of one series (the card number's first three letters), at most four copies of a card number and at most four cards of each of the Special, Color and Final trigger kinds. The engine follows the Official Rule Manual. ### Opening 1. Player One is chosen at random (from the game's seed, so a replay picks the same player). 2. Both players draw seven cards. Player One, then Player Two, may **mulligan once**: the hand goes to the bottom of the deck, they draw seven and shuffle. 3. Each player places the top seven cards of their deck face down in their **Life area**. ### The turn | Phase | What happens | |---|---| | **Start** | Effects that last "until the start of your next turn" end. Your resting characters, sites and AP cards become active. Your AP area is filled to the turn's count (Player One 1 → 2 → 3, Player Two 2 → 2 → 3). You draw a card (Player One skips it on turn 1); a player who can't draw here **loses**. Once per turn you may pay 1 AP for an **extra draw**. | | **Movement** | Move any number of characters from the energy line to the front line; characters with **Step** may move back. A full line sends one of its cards to the removal area first (Step may trade places instead). | | **Main** | Play characters (front or energy line), sites (energy line) and events, perform **Raid**, and use **Activate: Main** abilities. | | **Attack** | Attack with active front-line characters, one at a time. | | **End** | "At the start of the end phase" abilities resolve, your resting characters and sites become active (AP stays resting), you keep eight cards in hand (the rest go to the removal area), and "until the end of the turn" effects end. | Phases only move forward. The table moves through the ones you skip (taking a main-phase action from the start phase passes the movement phase; attacking ends the main phase), so you rarely need *Next phase* — *End the turn* is always there. ### Playing cards - **Required energy**: the energy line (characters and sites, active or resting) must generate at least that much energy of the card's colour. Energy is not spent; front-line cards don't count (unless a card says they do). - **AP cost**: that many active AP cards are switched to resting. - Characters and sites enter **resting**; events resolve, then go to the sideline. - **Raid**: a character with Raid may be placed on a character on your field that matches its target (`` or `[Affinity]`) and has no Raid itself, paying its required energy and AP. Abilities on the card underneath stop applying; the stack becomes active, may move to the front line, and the raiding card's **When Played** abilities resolve. When a Raided character leaves the field only the top card moves; the cards under it go to the sideline. ### Attacks and battles - The attacker switches to resting. **Snipe** may attack a character on the opponent's front line instead (it can't be blocked). **When Attacking** abilities resolve. - The defending player may **block** with an active front-line character (it switches to resting; **When Blocking** abilities resolve). - **A battle** compares BP: an attacker with equal or more BP wins and the defender is **sidelined** (its **When Sidelined** abilities resolve), then "win a battle" abilities (**Impact**: damage to the opponent); a losing attacker is not sidelined. - **Unblocked**: the opponent takes 1 damage (**Damage 2** / **Damage 3** … instead; **Damage +1** adds). - **Damage**: one Life card per point is turned over. Each card with a trigger may be activated (the damaged player chooses the order), then goes to the sideline. A player with no Life cards left after checking triggers **loses**. - A character whose BP drops to 0 or less is sidelined. ### Keywords | Keyword | Rule | |---|---| | Step | During your movement phase, may move from the front line to the energy line. | | Snipe | May attack a character on the opponent's front line; the opponent can't block. | | Double Attack | The first time it attacks each turn, it switches back to active. | | Double Block | The first time it blocks each turn, it switches back to active. | | Impact N | When it attacks and wins a battle, deal N damage to the opponent. | | Impact +N | Impact deals N more (a character without Impact gains Impact 1). | | Damage N | When it attacks and deals direct damage, deal N instead of 1. | | Damage +N | Its direct damage is N more. | | Nullify Impact | The character battling it loses Impact for the battle. | | Raid | See *Playing cards*. | ### Timings, conditions and costs (the card's icons) | Icon | Meaning | |---|---| | When Played | When the card is played onto the field (also by Raid, a trigger or an effect). | | When Attacking / When Blocking / When Sidelined | When it attacks / blocks / is sidelined. | | Activate: Main | Used in your main phase by paying its costs. | | During Your Turn / During Opponent's Turn | Works only then. | | If on the Front Line / If on the Energy Line / If in the Sideline | Works only from there. | | Once Per Turn | Once per turn for each copy. | | Switch to Resting · Pay N AP · Place N Cards From Hand Into Sideline · Sideline This Card | The ability's costs, all paid before it resolves. | Simultaneous abilities: the turn player's resolve first, each player choosing the order of their own. "{…} instead" text is a substitution: when its condition holds, the braced words are replaced. ### Winning - The opponent has no Life cards left (after checking triggers). - The opponent can't draw in their start phase. - The opponent concedes. ### By hand A sentence the translator can't read yet becomes a step the engine hands to the table: it pauses, shows the sentence, and the player adjusts the board (move a card, rest or ready it, change its BP, draw, shuffle) and presses **Done**. Such cards are marked **partial** in the library. At an **assisted** table the player whose turn it is may adjust the board by hand at any time. ## How card text is read Cards come from the official English card list, whose effect and trigger boxes print icons; the importer keeps every icon as a token in brackets — `[When Played]`, `[Activate: Main]`, `[Once Per Turn]`, `[Impact 1]`, `[Raid]`, `[Pay 1 AP]`, `[Green×1]` — so a card's `text` reads like the printed card. Each line is one ability: its icons first (timing, conditions, costs, keywords), then its sentences. ### A line, by its icons - **A keyword icon** with its reminder text (`[Impact 1] (When this character attacks …)`) gives the card that keyword. - **`[Raid] Switch to active. May move to the front line.`** makes it a Raid card for that name (or `[Affinity]`). - **A timing icon** makes a triggered ability (`When Played`, `When Attacking`, `When Blocking`, `When Sidelined`) or an activated one (`Activate: Main`), with any condition and cost icons. - **No timing** on a character or site: continuous text ("This character gains 1000 BP for each …", "If is on your field, …", "reduce this card's required energy by [Green×1] while in your hand"), a trigger in words ("When a character on your field attacks and wins a battle, draw a card", "At the end of the main phase, sideline this character"), or a tier list ("gains all abilities listed below if you have the required number of …: ・5 or more: …"). - **No timing** on an event: the event's effect. - **The Trigger box**: `Get`, `Draw`, `Active`, `Raid`, `Color`, `Special`, `Final` — read like any effect. ### Sentences it reads | Kind | Examples | |---|---| | Choosing | "Choose up to one other [Affinity] character with 3000 or less BP on your opponent's front line and switch it to resting." · "Choose one of your AP cards …" · "Your opponent returns one character on their front line to their hand." | | What happens to the choice | sideline it · switch it to resting / active · return it to their hand · place it on the top / bottom of their deck · place it into the removal area · move it to the other line · it gains / loses N BP, [Keyword], "a quoted ability", energy generation · it will remain set to resting the next time it would be switched to active · it cannot attack / block | | Every card | "All characters on your opponent's front line lose 1000 BP until the end of the turn." | | This card | switch this character to active · sideline / return this character · this character gains … · play this character set to active · move this character to the other line | | Cards and decks | draw (then place cards from your hand into the sideline) · place the top N cards of your deck into your sideline / life area · look at the top N cards, reveal / add some, the rest on the top / bottom (in any order) or into the sideline · add a card from your sideline / life area to your hand · play a card from your hand / sideline · place cards from the sideline into the removal area · deal N damage | | Choices and conditions | "You may …" · "If you do," · "If you cannot," · "Otherwise," · "Choose one of the following: ・… ・…" · "If is on your field, …" · counts on a field, in a sideline or a hand · life · this character's state, line, BP or the cards under it · it is your turn · sidelined / triggered / used this turn · energy generation | | Durations | until the end of the turn · until the start of your next turn · until the end of their next attack phase · for this battle | | Requirements | "You can only activate this ability if …" · "… one time each turn" · "on the turn this character is played" · "You can only use this card if …" | | Substitution | "{3000 or less BP} … If is on your field, {5000 or less BP} instead." | Anything else stays a step resolved by hand (see *Rules*), and the card is **partial**; the *Card coverage* page lists what the translator reads and what it still leaves to the players. ### Writing a custom card Write the card the way it is printed, icons in brackets, one ability per line: ```json { "id": "my-ua-card", "name": "My Hunter", "game": "unionarena", "source": "custom", "types": ["Character"], "text": "[When Played] Choose up to one character with 3000 or less BP on your opponent's front line and switch it to resting.\n[Impact 1] (When this character attacks and wins a battle, deal 1 damage to your opponent.)", "tcg": { "category": "Character", "cost": 2, "stats": { "ap": 1, "bp": 3000 }, "attributes": ["Green"], "traits": ["Hunter Association"], "extra": { "source": "HTR", "generates": "Green:1", "trigger": "Draw a card.", "triggerKind": "Draw" } } } ``` `cost` is the required energy, `stats.ap` the AP cost, `extra.generates` the energy it generates on the energy line (`Colour:amount`, several joined with `;`). ## Zones | Zone | Label | Kind | Visibility | Notes | |---|---|---|---|---| | `library` | Deck | pile | hidden | ordered | | `hand` | Hand | hand | owner | | | `front` | Front line | slots | public | 4 slots | | `energy` | Energy line | slots | public | 4 slots | | `ap` | AP area | row | public | | | `life` | Life | pile | hidden | ordered | | `sideline` | Sideline | pile | public | ordered | | `removal` | Removal area | pile | public | | Hand zone: `hand` · library: `library` · main surface: `front` · discard: `sideline`. Seats: 2. ## Counters - `life` — Life, starts at 0 (primary) ## Phases Start → Movement → Main → Attack → End ## Deck rules A deck list is `{ "name", "engine": "unionarena", "format", "zones": { "": ["", …] } }`; copies are repeated ids. Formats: | Format | Zones (min–max, allowed types) | Max copies | Notes | |---|---|---|---| | Standard | Deck (`main`): 50–50 | 4 | legality: standard | | Custom | Deck (`main`): 1+ | 99 | | ## Card adapter Types: Character, Event, Site, Action Point · resource: Required energy · stats: BP · colors: Red, Blue, Green, Yellow, Purple.