rule change

This commit is contained in:
Forrest 2026-09-29 13:28:06 -04:00
parent 62b2b9feca
commit 5d771eed1b
9 changed files with 199 additions and 75 deletions

124
rules.md
View file

@ -1,7 +1,10 @@
# 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](#rounds-and-commands). Card text and stats come from
*Draft v0.9 — 2026-09-29.* The basic game rules are complete. v0.9 gives Avatars
[Health](#combat): the roll is unchanged, but the loser takes the difference as damage instead of
being knocked out, and a location falls only when its last defender is destroyed. To keep the seats
even under Health, the first player now leads every round and draws in round 1. v0.8 replaced
whole turns with [rounds of alternating commands](#rounds-and-commands). Card text and stats come from
`decks/files-deck-1/cards.csv` (`cards.md` is out of date). [Card Rules](#card-rules) says how card
text is read; readings marked ⚠ are the simulator's guesses and are listed in
[Open Questions](#open-questions).
@ -32,8 +35,8 @@ A deck can hold at most **2 copies** of any one card.
6. Start with **4 RAM**. This is the capture payout for your starting Server, not an extra 4.
7. 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 first player is chosen at random. They take the first command of every round, and both players
draw at their first command of round 1.
## The Playmat
@ -114,15 +117,15 @@ the location. An Avatar unlocked during a round can enter play from the next rou
## 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:
time in a snake order, the same every round:
| 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 |
| every round | first player, second player, second player, first 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.
Each player gets one pair of back-to-back commands: the second player's pair sits in the middle of
a round, the first player's spans the end of one round and the start of the next. The first player
draws and refreshes between those two commands, since the second one starts a new round.
**Your first command of a round** starts with:
@ -136,6 +139,10 @@ Nobody acts twice in a row across the end of a round.
- 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.
- **Recall:** instead of placing an Avatar that's on the board, you may return it to its slot.
It heals to full Health and keeps its Hardware, but the recall counts as its placement for the
round, and the location it left is now undefended. An Avatar that can't move (Packet Flood,
Emergency Shutdown) can't be recalled.
- 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.
@ -169,20 +176,32 @@ Card text is written for turns. With commands it reads like this:
- **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.
- **Defended enemy location:** combat. If the combat destroys every defender there, capture it as
an undefended location. Otherwise the location holds and your Avatar stays where it attacked from.
- **Starting Servers** can't be attacked or captured.
## Combat
Every Avatar has printed **Health**. Damage stays on an Avatar for as long as it's on the board, so
a defended location usually takes more than one attack to fall. Track damage with counters or a
dial on the card.
1. 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.
2. The higher total wins. **On a tie, both sides reroll all their dice** until one wins.
3. 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.
4. The **winner** keeps everything. A winning attacker moves into the captured location.
2. The higher total wins the roll. **The loser takes damage equal to the difference.** The winner
takes none. **On a tie, nothing happens:** no reroll and no damage. The combat is over.
3. If several Avatars defend, the attacker splits the damage among them as it likes.
4. An Avatar whose damage reaches its Health is **destroyed**. It returns to its Avatar slot, face
up, at full Health. 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.
5. Nobody else moves. A losing attacker stays where it attacked from, carrying its damage. A winning
attacker moves into the location only if every defender was destroyed, and captures it.
An Avatar only heals by leaving the board: by being destroyed, or by a **recall** in the Deploy
step (which keeps its Hardware). No card heals an Avatar in place yet; that's design space for Patch
cards, and for Hardware that adds Health.
## RAM
@ -254,19 +273,24 @@ Avatars (such as Trace Route and Disconnect).
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
- **Health / damage:** an Avatar's Health is printed on it. Damage is marked on the Avatar and
stays while it's on the board. Copies have the original's Health and their own damage.
- **Destroyed / defeated** (Avatars) means its damage reached its Health, so it left the board.
Losing a roll without being destroyed is not a defeat. 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.
- **Leaving the board** (destroyed or recalled) removes an Avatar's damage, counters and temporary
effects. Persistent Infection's counters stay. A recalled Avatar keeps its Hardware. ⚠
- **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
- **Infection counters** come off when the Avatar leaves the board, 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.
- **Bug counters** work like Infection counters, for Bug cards. They come off when the Avatar leaves
the board, 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
@ -286,7 +310,7 @@ Avatars (such as Trace Route and Disconnect).
- **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.
the attacker splits the damage between them. The location falls only when both are destroyed. ⚠
- **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
@ -333,7 +357,7 @@ Cards not listed here work exactly as printed.
| 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. ⚠ |
| Redundant Power Supply | The first time the wearer is destroyed, 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). ⚠ |
@ -367,7 +391,16 @@ Cards not listed here work exactly as printed.
## Open Questions
None for the basic game. For the cards:
For the basic game (v0.9 Health):
1. **Health values** are a first guess: 4-Core Avatars 9, 3-Core 10, 2-Core 12, so the heavy hitters
are glass cannons and the 2-Core body can hold a location while its Hardware comes online.
2. **Recall** clears counters and effects, like a defeat does. That makes it a slow Purge. Intended? ⚠
3. **Split damage** with two defenders is the attacker's choice. ⚠
4. **RAM Expansion** says "+2 Core capacity". It's read as +2 Cores; with Health in the game it could
become +2 Health instead, which would also fix it dominating Additional Core.
For the cards:
1. **Bug counters** need cards that place them, and cards that punish having them (like Code Zero
and Recursive Infection do for Infection).
@ -391,23 +424,38 @@ Things the first sim runs should measure:
- **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%.
bots that rush Avatar unlocks). Rounds of alternating commands in the snake order brought it to
about 50%. A plain alternating lead gave 49%, the first player always leading 51%. Under Health
(v0.9) the alternating lead fell to 48%, so the lead is fixed on the first player again and they
draw in round 1: 51% over 9,000 games (fixed lead alone 50%, fixed lead without snake 53.5%).
- **Game length.** Commands make games longer: a median of 13 rounds (26 commands each), 90% within
35 rounds.
- **Health (v0.9).** 1,000 greedy-vs-greedy games, printed Health against one-roll combats: median
14 rounds (13 before), 24.5 combats a game (27), 4.9 combat captures per player (9.3), 6.4 Avatars
destroyed per player (13), 34% of enemy locations taken were won in combat (41%). First player
47% (49%). The bot attacks with big Core edges, so its winning margin averages about 10 and
roughly two thirds of its winning rolls destroy the defender outright; the rest take a second
attack. Bots recall under once a game. Every Avatar at Health 8: median 13 rounds, 40% of enemy
captures by combat; at 12: median 14, 30%. Attacking at 50%+ odds instead of 60%+ makes no
difference (48% vs 51%).
## 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.
For each matchup, three exact numbers: the chance the attacker **wins the roll**, the **average
damage** a win deals (the margin), and the chance one roll deals **10 or more**, enough to destroy a
10-Health Avatar outright. Rows are the attacker's Cores, columns the defender's. Ties are neither a
win nor a loss: 1 vs 1 ties 17% of the time, 3 vs 3 9%, 6 vs 6 7%.
| 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% |
| Atk \ Def | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|
| **1** | 42% · 2.3 · 0% | 9% · 1.8 · 0% | 1% · 1.4 · 0% | 0% · 1.2 · 0% | 0% · 1.0 · 0% | 0% · — · 0% |
| **2** | 84% · 4.4 · 2% | 44% · 3.1 · 0% | 15% · 2.4 · 0% | 4% · 2.0 · 0% | 1% · 1.8 · 0% | 0% · 1.6 · 0% |
| **3** | 97% · 7.2 · 24% | 78% · 5.0 · 6% | 45% · 3.7 · 1% | 19% · 3.0 · 0% | 6% · 2.5 · 0% | 1% · 2.2 · 0% |
| **4** | 100% · 10.5 · 60% | 94% · 7.5 · 28% | 74% · 5.5 · 9% | 46% · 4.2 · 2% | 22% · 3.4 · 0% | 8% · 2.9 · 0% |
| **5** | 100% · 14.0 · 86% | 99% · 10.6 · 59% | 91% · 7.9 · 31% | 72% · 5.9 · 12% | 46% · 4.7 · 4% | 24% · 3.8 · 1% |
| **6** | 100% · 17.5 · 96% | 100% · 14.0 · 82% | 98% · 10.8 · 58% | 88% · 8.2 · 32% | 70% · 6.3 · 15% | 47% · 5.1 · 5% |
| **7** | 100% · 21.0 · 99% | 100% · 17.5 · 94% | 99% · 14.1 · 80% | 96% · 11.0 · 57% | 86% · 8.5 · 34% | 69% · 6.7 · 17% |
| **8** | 100% · 24.5 · 100% | 100% · 21.0 · 98% | 100% · 17.5 · 92% | 99% · 14.2 · 77% | 95% · 11.2 · 56% | 84% · 8.8 · 35% |
The old one-roll rule (ties rerolled) gives the same win chances with the ties shared out, so a
1-Core edge is still roughly 75 to 90% and a 2-Core edge 90 to 99%.