Rules (rules.md, new file): - Rounds of 2 commands per player in snake order (A B B A, then B A A B). A command is one advance or one attack; each Avatar acts once per round. - Flat 4 RAM captures, first row Lv 1, A2-C2 and C2-E2 lines cut, 45-card decks, Code Zero at 3 Cores with Patient Zero at 1+ counters. Simulator: - Command rule (default on): commands.perPlayer, commands.leads, commands.snake; commands.on=false restores whole turns. - Greedy bot values Avatar unlocks (unlockPoints) and picks one action per command. - Prototype switches, off by default: Avatars in the deck (recruit.*), buying Avatars (buyAvatars.*), copy limits (copies.*), turn-1 draw and second-player draw options. - cards.csv card-text revisions, with scripts and tests to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 KiB
Files TCG Rules
Draft v0.8 — 2026-09-28. The basic game rules are complete. v0.8 replaces whole turns with
rounds of alternating commands. Card text and stats come from
decks/files-deck-1/cards.csv (cards.md is out of date). Card Rules says how card
text is read; readings marked ⚠ are the simulator's guesses and are listed in
Open Questions.
Winning
The first player to control 10 Server locations wins. Starting Servers don't count, so that's 10 of the 13 grid locations. The win is checked as soon as a capture resolves.
Deck Construction
Each player brings:
- 4 Avatars
- 20 Servers
- 45 cards: any mix of Executions, Hardware and Programs
A deck can hold at most 2 copies of any one card.
Setup
- Shuffle your 4 Avatars and place them face down in your 4 Avatar slots (the ✚ icons), numbered 1–4.
- Shuffle your Servers face down into your Server pile.
- Shuffle your 45 cards face down into your Deck.
- Place 1 Server from your pile face down on your starting Server (the ■ icon). Reveal it when the game starts; its ability applies.
- Draw 7 cards.
- Start with 4 RAM. This is the capture payout for your starting Server, not an extra 4.
- Flip Avatar 1 face up. It is available from the start.
The first player is chosen at random. They take the first command of round 1 and skip their draw in round 1.
The Playmat
Each player's starting Server (S1 for the South player, S2 for the North player) connects to a
13-location grid. Two locations are adjacent if a single line connects them directly and that
line isn't blocked by a Firewall.
S2 North start
|
E1 -----o------ E2 -----o----- E3
\ / \ /
o o o o
\ / \ /
D1 D2
/ \ / \
o o o o
/ \ / \
C1 C2 C3
\ / \ /
o o o o
\ / \ /
B1 B2
/ \ / \
o o o o
/ \ / \
A1 -----o------ A2 -----o----- A3
|
S1 South start
o = gateway (20 in total), where Firewalls are placed. The two lines out of the starts (S1–A2
and E2–S2) have no gateways, so they can never be firewalled. A2 and E2 don't connect to C2.
Adjacency
| Location | Adjacent to |
|---|---|
| S1 | A2 |
| A1 | A2, B1 |
| A2 | S1, A1, A3, B1, B2 |
| A3 | A2, B2 |
| B1 | A1, A2, C1, C2 |
| B2 | A2, A3, C2, C3 |
| C1 | B1, D1 |
| C2 | B1, B2, D1, D2 |
| C3 | B2, D2 |
| D1 | C1, C2, E1, E2 |
| D2 | C2, C3, E2, E3 |
| E1 | E2, D1 |
| E2 | S2, E1, E3, D1, D2 |
| E3 | E2, D2 |
| S2 | E2 |
Levels
A location's level depends on who captures it: deeper into enemy territory means a higher level. Your starting Server and your first row are Lv 1, and each row after that is one level higher. Levels decide which Avatars unlock. Every capture pays the same 4 RAM, whatever the level.
| Row | South player's level | North player's level |
|---|---|---|
| S1 | Lv 1 (start) | — |
| A1–A3 | Lv 1 | Lv 5 |
| B1–B2 | Lv 2 | Lv 4 |
| C1–C3 | Lv 3 | Lv 3 |
| D1–D2 | Lv 4 | Lv 2 |
| E1–E3 | Lv 5 | Lv 1 |
| S2 | — | Lv 1 (start) |
Avatar unlocks
The first time you capture a Lv N location, flip Avatar N face up, plus any lower-numbered Avatar that's still face down. Your first row (Lv 1) unlocks nothing; Avatar 2 unlocks in your second row. Capturing Lv 3 before Lv 2 unlocks Avatars 2 and 3. Unlocks are permanent, even if you later lose the location. An Avatar unlocked during a round can enter play from the next round.
Rounds and Commands
The game is played in rounds. In each round, each player gets 2 commands, taken one at a time in a snake order:
| Round | Order of commands |
|---|---|
| 1, 3, 5… | first player, second player, second player, first player |
| 2, 4, 6… | second player, first player, first player, second player |
Each player gets one pair of back-to-back commands per round, and the pair swaps sides every round. Nobody acts twice in a row across the end of a round.
Your first command of a round starts with:
- Draw a card. If your Deck is empty, skip this. There's no maximum hand size.
- Refresh: each of your Avatars can act and be placed again this round. Effects that happen "at the start of your turn" happen now.
A command:
- Deploy & Move.
- First, place any of your face-up Avatars onto locations you control. This includes Avatars entering play from a slot and Avatars repositioning. Placement is free and doesn't count as a move. Each Avatar can be placed once per round.
- Then you may advance one Avatar: move it to an unowned location, or an undefended enemy location, that is adjacent to any location you control.
- Each location holds 1 of your Avatars. Cluster Server and Pingable Server raise this to 2.
- Play cards from your hand.
- Attack. If you didn't advance, one Avatar may attack one defended enemy location adjacent to the location it's on. It gets the Core bonus of the Server it attacks from.
- Resolve the advance or attack right away, with the capture or combat and Server placement.
- Play additional cards, including with RAM gained in step 4.
A command is one advance or one attack, or neither (a pass). Each Avatar can advance or attack only once per round, so with one Avatar in play your second command of a round can play cards but can't act. Copies are Avatars: each can act once per round, but they don't add commands.
There's no limit on how many cards you can play, other than the RAM you have.
"Turn" on cards
Card text is written for turns. With commands it reads like this:
- Your turn is your commands in the current round. "At the start of your turn" happens at your first command of the round.
- Limits counted per turn (once per turn, the first … each turn) count per round, for both players together.
- "This turn" and "until end of turn" last until the end of the current command.
- "Until your next turn" and "the end of your next turn" mean your next command.
Capturing Locations
- Unowned location: your Avatar moves in. Draw the top Server from your pile, place it face up there, and gain RAM.
- Undefended enemy location: your Avatar moves in. The enemy puts their Server card on the bottom of their pile, and Programs there go to their discard pile. Then place your own Server and gain RAM, as above.
- Defended enemy location: combat. If you win, capture it as an undefended location. If you lose, the location isn't captured.
- Starting Servers can't be attacked or captured.
Combat
- Both players roll 1d6 per Core, counting Cores from the Avatar, Hardware, Programs, effects, and the Server each Avatar is on: the attacker's origin, and the location being defended. Each side always rolls at least 1 die.
- The higher total wins. On a tie, both sides reroll all their dice until one wins.
- The loser returns to its Avatar slot, face up. Its Hardware goes to its owner's discard pile and all counters and effects on it are removed, debuffs included. It can be placed again from its owner's next command, if it hasn't been placed yet this round.
- The winner keeps everything. A winning attacker moves into the captured location.
RAM
- RAM carries over between commands and rounds, and there's no cap.
- Avatars cost 0 RAM. Other cards cost their printed RAM value.
- Capture: gain 4 RAM, paid once when you capture a location, whatever its level. You get paid again every time you recapture a location. A Server card's RAM bonus (for example "+4 RAM") is also paid once, when the card is placed, on top of the capture RAM. A Server's Core bonus applies to your Avatar at that location.
- Salvage: discard a card from your hand to gain its printed RAM value. You can salvage any time you need to pay a cost. Installed cards can't be salvaged.
- Firewalls: you spend RAM to place, upgrade and clear them.
Firewalls
Firewalls are bought with RAM and placed on a gateway (o). They aren't cards. A Firewall blocks
all movement and attacks along its line: for both players, and for card effects that move
Avatars (such as Trace Route and Disconnect).
| Firewall | Cost |
|---|---|
| Lv 1 | 2 RAM |
| Lv 2 | 4 RAM |
| Lv 3 | 8 RAM |
- Placing: in your command (steps 2 and 5), on an empty gateway whose line touches a location you control. Pay the cost of the level you place. Each gateway holds 1 Firewall, and there's no limit on how many you can place.
- Upgrading: same timing and placement rules as placing. Pay the full cost of the new level; for example, Lv 1 → Lv 2 costs 4 RAM.
- Clearing: in your command, in steps 1 and 3, before you advance or attack, on a line touching a location you control. Pay the Firewall's current level cost. This applies to everyone, including the player who placed it; there's no free removal. Clearing doesn't use an Avatar's action.
- Permanent: a Firewall stays until someone pays to clear it, even if the locations at either end change hands. Once placed, it doesn't belong to either player.
Playing Cards
- Programs: in your command (steps 2 and 5), on a location you control. Maximum 2 per location.
- Hardware: in your command (steps 2 and 5), on one of your Avatars that's in play (not in its slot), up to its Expansion Slots.
- Executions: at any time, by either player (see Timing).
- Avatar abilities: Execution timing, once per turn (per round), only while the Avatar is in play.
- Other activated abilities (Garbage Collection, Rollback Routine, Undefined Behavior, Hot-Swap Bay, Backup Server): the same, Execution timing and once per turn (per round). Using one isn't playing a card.
Timing
"Any time" means at these response windows:
- After any declaration: when a player declares an advance or attack, or plays a card, the other player may respond.
- During combat: there's one window before the dice are rolled, and one after the roll but before the result.
- Chains: an Execution or ability can respond to another one. The most recent one resolves first. Each time a player adds to the chain, the other player may respond. When a player passes instead, the whole chain resolves.
- The player whose command it isn't can only act in these windows. The player taking the command can also play Executions and use abilities during its steps.
Card Rules
Terms
- "This Server" on a Program or Server is the location it's on. Avatars "at" a location are the ones standing on it, plus an enemy attacking it in the current combat. Enemy Avatars never stand on your locations.
- "A combat at this Server" on an Avatar Ability means any combat that Avatar is fighting in, attacking or defending.
- Destroyed / defeated (Avatars) means losing a combat. A Program or Hardware is destroyed when an effect sends it to the discard pile (Overflow Error, Sabotage). Programs on a captured location are discarded, not destroyed.
- Breach: capture an enemy-owned location, by advancing into it or winning an attack on it.
- Disabled Hardware or Program: its effect stops. With no duration on the card, it stays disabled until something re-enables it (Execute: Defragment) or it leaves play.
- Disabled Avatar (Emergency Shutdown): can't advance, attack, move or use its Ability. It still defends. ⚠
- Infection counters come off when the Avatar is defeated, except the ones Persistent Infection places. Code Zero (1+ counters: −1 Core) and Recursive Infection (3+: −2 Cores) apply everywhere while the card is in play, once each no matter how many copies are in play.
- Bug counters work like Infection counters, for Bug cards. They come off when the Avatar is defeated, and Error Correction can remove one. No card places them yet; that needs new cards. ECC Memory stops opponents from placing them. Purge removes only Virus/Infection counters.
- Temporary bonuses and penalties are Core changes from Abilities, Executions and Program triggers that last one combat or one turn: Memory Leak, Visual Artifact, Race Condition, Low Resolution, Trace Route. Force Reboot removes them; Rollback Routine undoes the most recent penalty.
- Copies (Carbon NanoBots, Backup Server): a copy is an extra Avatar with the original's printed Cores and the original's Hardware bonuses, but no Hardware or Ability of its own. Each Avatar can have one copy at a time. It enters play on any location you control with room, can advance, attack and defend, and is removed if it's defeated or its original is. ⚠
- Mid-combat: no Avatar can enter a location while a combat is going on there, whether it's a new copy or an Avatar moved by Disconnect. It wouldn't be in the combat, and the location could be captured with it still standing there. ⚠
- Executions are performed by Servers, never by Avatars. When you play one, one of your Servers performs it (you pick which). Three cards were written for Avatars performing Executions, and read it through the Server the Avatar stands on: Dedicated GPU and Quantum Coprocessor work for Executions that Server performs, and Force Reboot stops that Server from performing Executions for the rest of the turn.
- Protected (Execute: Root Access) means the Program Hardware Sandbox protects. No card protects Hardware yet.
- Two defenders (Cluster Server, Pingable Server): both roll together as one side. If they lose, both are defeated.
- Cores that change after the roll change the dice: each Core gained rolls one more die, and each Core lost removes one of that Avatar's rolled dice, the one showing the highest number.
- Once per turn means once per round, counting uses in both players' commands (see "Turn" on cards).
Readings
Cards not listed here work exactly as printed.
| Card | How the simulator reads it |
|---|---|
| Servers | |
| Cluster Server, Pingable Server | Two of your Avatars fit; both defend together (see Terms). |
| Backup Server | Once per turn, at any time, make a copy of your Avatar standing here (see Copies). |
| Upgraded Hardware | −2 RAM for Hardware installed on your Avatar standing here. |
| Network Throttle | −1 RAM for Firewalls you place or upgrade on a line touching it. Clearing costs full price. |
| Duplicate Server | When placed, pick one adjacent Server (either player's) and gain its ability while this card stays. A copied RAM bonus is paid at once. ⚠ |
| Protected Server | +2 RAM each time a combat starts here with your Avatar defending. ⚠ |
| Callable Server | Every draw after the opening hand, once per card drawn. A second Callable Server doesn't add more. |
| Programs | |
| Recursive Infection | One counter per attack declared on this location, or per capture of it without an attack. ⚠ |
| Memory Parasite | "The owner" is the attacking Avatar's owner, who picks which of its Hardware is off for that combat. |
| Replication Routine | Installing this card counts, so it can bring a second Virus with it. Program slots still apply. |
| Worm Protocol | Its other Programs' effects also apply at the adjacent location chosen on install (any owner's). |
| Persistent Infection | Enemy Avatars only; Virus Programs hit attackers. ⚠ |
| Infinite Loop | Your Avatar attacking from here may declare a second attack on another adjacent location. Both attacks come from here, even if the first one moved it. If it loses the first, the second is off. ⚠ |
| Stack Overflow | Counts Programs installed here, including Process Clone and Remote Access copies. |
| Race Condition | The attacker picks first, hidden from the defender. The +2 goes to the defending side. |
| Null Pointer | Automatic: the first enemy Execution targeting this location each turn does nothing. The card is still spent. |
| Stock Rice | "Hardware bonuses" are the Cores Hardware adds. ⚠ |
| Overflow Error | "Disable" lasts until re-enabled. |
| Undefined Behavior | The copy is yours, works on this location, and lasts until your next turn. ⚠ |
| Desynchronization | The once-per-turn Hardware abilities are Hot-Swap Bay and Quantum Coprocessor. |
| Visual Artifact | Once per installation, since "each turn" was removed from the card. ⚠ |
| Ghost Process | An Execution you play on this location may pick its Avatar, Program or Hardware at one adjacent location. |
| False Positive | Redirect to any other Avatar the Execution could legally hit at another location. |
| Latency Spike | "The first step" is the window before the roll. Abilities still work. |
| Hotfix | Only effects destroy Programs (Overflow Error); capture doesn't. |
| Error Correction | Removes one of: an Infection counter, a permanent counter, disabled Hardware, the latest penalty, Packet Flood, Disabled. |
| Garbage Collection | It can sacrifice itself. |
| Version Control | On capture, one Program goes back to your hand; on destruction, the destroyed Program does. |
| Compatibility Layer | +1 Program slot here; −2 RAM for Patch Programs installed here after it. |
| Hardware | |
| RAM Expansion | +2 Cores. |
| Overclocked CPU | After each combat, one of your Programs on the location it fought from is disabled through the end of the next turn. ⚠ |
| Solid-State Cache | −3 RAM for the first Program you install each turn on the location the wearer stands on. |
| Redundant Power Supply | The first time the wearer is defeated, all its Hardware stays on it, in its slot. ⚠ |
| Network Interface Upgrade | Takes no port and adds one, so the wearer nets +1 Expansion Slot. The card text should say so. If it leaves (Sabotage, Rollback), the wearer discards Hardware until it fits, newest first. ⚠ |
| Dedicated GPU | +1 to the number an Execution uses (cards drawn, Cores, RAM) when the Server the wearer stands on performs it. |
| ECC Memory | Opponents can't give the wearer Bug counters. "Bug status effects" are opponents' Bug Program effects on it (Memory Leak, Stock Rice). ⚠ |
| Cooling System | One other Hardware on the same Avatar gets two uses a turn of its once-per-turn or first-each-turn effect. |
| RAID Array | Half the combined printed RAM of its Hardware, rounded up. ⚠ |
| Firewall Appliance | Programs never target Avatars, so this taxes the first enemy Execution each turn that targets the wearer or its Hardware. |
| Hardware Sandbox | Pick the Program on install, and again at the start of your turn if the wearer has moved. It's protected only while the wearer stands with it. ⚠ |
| Diagnostic Module | At the start of your turn, look at your top card and you may put it on the bottom; then draw normally. ⚠ |
| Hot-Swap Bay | Swap Hardware on this Avatar, at any time, paying the difference in printed RAM (no refund). The result must fit the ports. ⚠ |
| Quantum Coprocessor | Works for Executions performed by the Server the wearer stands on. "Disable this Hardware" lasts until your next turn, as the card used to say. |
| Executions | |
| Execute: Disconnect | Moves to a location you control with room. An attacker can retreat to where it stands. If the last defender leaves, the attacker takes the location. ⚠ |
| Execute: Sabotage | "Disable" lasts until re-enabled. |
| Execute: Force Reboot | Clears every temporary effect on the Avatar. The Server it stands on can't perform Executions for the rest of the turn. |
| Execute: Fork | The copy is yours, works on the target location until end of turn, and doesn't count as installed. |
| Execute: Trace Route | Resolves right away, only while no combat is going on. Into your own location it's a move, into an unowned or undefended one a capture, into a defended one an attack with +1 Core from the location it left. It works in either player's command. |
| Execute: Rollback | Programs installed on the target this turn, or Hardware installed this turn on an Avatar there. |
| Execute: Packet Flood | Affected Avatars can't advance, attack, reposition or be moved, and moves they already declared fail. ⚠ |
| Execute: Emergency Shutdown | Nobody moves; Disabled Avatars still defend (see Terms). ⚠ |
| Execute: Process Clone | The second copy counts as installed. |
| Execute: Remote Access | The Program keeps its owner and works at both locations until end of turn. ⚠ |
| Execute: Purge | Removes Infection (permanent too), opponents' penalties, Packet Flood, Disabled, and disabled Hardware. |
| Avatar Abilities | |
| Carbon NanoBots (Replicate) | See Copies. Two NanoBots in a deck can have two copies. ⚠ |
| Pixelated Picture (Low Resolution) | Only while it defends: −1 Core for the attacker, that combat. ⚠ |
| Beta Version 1.0 (Push Update) | During a combat it's in, install a Hardware from hand (paying for it), ignoring ports. That Hardware is discarded at the end of your turn. |
| Data Leaker (Exfiltrate) | "Breached a Server this turn" = captured an enemy location this turn. |
| Broken Bits (Bit Flip) | Rerolls its dice showing a chosen number or less, which is always the best set to reroll. |
Open Questions
None for the basic game. For the cards:
- Bug counters need cards that place them, and cards that punish having them (like Code Zero and Recursive Infection do for Infection).
- Card text to update for rulings already made: Network Interface Upgrade (+1 port), and the typos Packet Accelerator "hen attacking" (when), Null Pointer "it's effect" (its), Push Update "If there no ports" (there are), Memory Parasite "owners choosing" (owner's).
- The other ⚠ readings above are smaller guesses. Say if any look wrong.
Simulation Watch List
Things the first sim runs should measure:
- Salvage efficiency. Salvage pays full printed value, so any card can pay for another card of equal or lower cost. Does capture RAM matter?
- Fight rate. Undefended locations are free to take. With at most 4 Avatars and 10 locations needed, is the game a land race with few fights?
- Recapture farming. Can players profit by trading the same location back and forth?
- Firewall stalling. Can a leading player wall off their side with Lv 3 Firewalls and stall the game? Firewalls block everyone, and every line between the B and C rows (and C and D) has a gateway, so four Lv 3 Firewalls can seal one half off.
- Game length. Deck is 45 cards, 7 of them in the opening hand, so 38 draws. Do games end before decks run out?
- First-player advantage. With whole turns the first player won about 70% of sim games (with bots that rush Avatar unlocks). Rounds of alternating commands in the snake order bring it to about 50%. A plain alternating lead gave 49%, the first player always leading 51%.
- Game length. Commands make games longer: a median of 13 rounds (26 commands each), 90% within 35 rounds.
Appendix: Combat Odds
Exact chance that the attacker wins, by Core count, with ties rerolled. Rows are the attacker's Cores, columns the defender's.
| Atk \ Def | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 1 | 50% | 10% | 1% | 0% | 0% | 0% | 0% | 0% |
| 2 | 90% | 50% | 16% | 4% | 1% | 0% | 0% | 0% |
| 3 | 99% | 84% | 50% | 21% | 6% | 2% | 0% | 0% |
| 4 | 100% | 96% | 79% | 50% | 23% | 9% | 3% | 1% |
| 5 | 100% | 99% | 94% | 77% | 50% | 26% | 11% | 4% |
| 6 | 100% | 100% | 98% | 91% | 74% | 50% | 28% | 13% |
| 7 | 100% | 100% | 100% | 97% | 89% | 72% | 50% | 29% |
| 8 | 100% | 100% | 100% | 99% | 96% | 87% | 71% | 50% |