This commit is contained in:
Forrest 2026-09-29 14:46:56 -04:00
parent 5d771eed1b
commit 5368464042
28 changed files with 887 additions and 187 deletions

View file

@ -12,4 +12,5 @@
"Ability Cost","Ability Ram cost","numeric",,"60","10" "Ability Cost","Ability Ram cost","numeric",,"60","10"
"Ability Name","Name of Ability","text",,"72","11" "Ability Name","Name of Ability","text",,"72","11"
"Ability Description","Description for ABility","text",,"202","12" "Ability Description","Description for ABility","text",,"202","12"
"Health","Avatar Health: the damage that destroys it","numeric",,"60","13" "Health","Avatar Health: the damage that destroys it","numeric",,"60","13"
"Set","Card set: 1 = base, 2 = expansion","numeric",,"60","14"
1 Name Description Type Options Width Order
12 Ability Cost Ability Ram cost numeric 60 10
13 Ability Name Name of Ability text 72 11
14 Ability Description Description for ABility text 202 12
15 Health Avatar Health: the damage that destroys it numeric 60 13
16 Set Card set: 1 = base, 2 = expansion numeric 60 14

View file

@ -1,85 +1,137 @@
"Name","Count","Front Template","Back Template","RAM","Cores","Description","Type","Image","Expansion Slots","Ability Cost","Ability Name","Ability Description","Health" "Name","Count","Front Template","Back Template","RAM","Cores","Description","Type","Image","Expansion Slots","Ability Cost","Ability Name","Ability Description","Health","Set"
"Carbon NanoBots","1","Avatar Front","Card Back",,"2","Nasty little bugs...","B","nano-bots","4","5","Replicate","Avatar may create a copy of itself. Only one copy is allowed at a time. If the copy is defeated the original does not lose any hardware upgrades. If the original is defeated the replicate is as well.","12" "Carbon NanoBots","1","Avatar Front","Card Back",,"2","Nasty little bugs...","B","nano-bots","4","6","Replicate","Avatar may create a copy of itself. Only one copy is allowed at a time. If the copy is defeated the original does not lose any hardware upgrades. If the original is defeated the replicate is as well.","10","1"
"Corrupt Driver","1","Avatar Front","Card Back",,"3",,"V","driver-ascii-art","3","4","Driver Fault","Choose one Hardware on an enemy Avatar in combat with this Avatar. It is disabled until the end of your next command.","10" "Corrupt Driver","1","Avatar Front","Card Back",,"3",,"V","driver-ascii-art","3","4","Driver Fault","Choose one Hardware on an enemy Avatar in combat with this Avatar. It is disabled until the end of your next command.","10","1"
"Pixelated Picture","1","Avatar Front","Card Back",,"3",,"G","pix","3","3","Low Resolution","Attacking Avatars have -1 cores against this Avatar.","10" "Pixelated Picture","1","Avatar Front","Card Back",,"3",,"G","pix","3","3","Low Resolution","Attacking Avatars have -1 cores against this Avatar.","10","1"
"Beta Version 1.0","1","Avatar Front","Card Back",,"4",,"P","broken-bits","2","4","Push Update","While in combat an additional piece of hardware can be placed on this avatar until the end of your command. If there no ports available this can still be attached.","9" "Beta Version 1.0","1","Avatar Front","Card Back",,"4",,"P","broken-bits","2","4","Push Update","While in combat an additional piece of hardware can be placed on this avatar until the end of your command. If there no ports available this can still be attached.","9","1"
"Code Zero","1","Avatar Front","Card Back",,"3",,"V","code-zero","4","4","Patient Zero","Place an Infection counter on every enemy Avatar in combat at this Server. While this Avatar is in play, an Avatar with 1+ Infection counters has -1 Core.","10" "Code Zero","1","Avatar Front","Card Back",,"3",,"V","code-zero","4","4","Patient Zero","Place an Infection counter on every enemy Avatar in combat at this Server. While this Avatar is in play, an Avatar with 1+ Infection counters has -1 Core.","10","1"
"Data Leaker","1","Avatar Front","Card Back",,"3",,"G","data-leaker","3","3","Exfiltrate","Look at your opponent's hand and choose one card in it. They must discard that card without gaining RAM. If this Avatar breached a Server this command, draw a card.","10" "Data Leaker","1","Avatar Front","Card Back",,"3",,"G","data-leaker","3","3","Exfiltrate","Look at your opponent's hand and choose one card in it. They must discard that card without gaining RAM. If this Avatar breached a Server this command, draw a card.","10","1"
"Backup Machine","1","Avatar Front","Card Back",,"3",,"P","backup","3","5","Restore Point","Return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM.","10" "Backup Machine","1","Avatar Front","Card Back",,"3",,"P","backup","3","5","Restore Point","Remove 3 damage from this Avatar, or return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM.","10","1"
"Broken Bits","1","Avatar Front","Card Back",,"4",,"B","broken-bits-2","2","4","Bit Flip","During a combat at this Server, reroll any number of this Avatar's Core dice.","9" "Broken Bits","1","Avatar Front","Card Back",,"4",,"B","broken-bits-2","2","4","Bit Flip","During a combat at this Server, reroll any number of this Avatar's Core dice.","9","1"
"Recursive Infection","1","Program Front","Card Back","6",,"Whenever an enemy Avatar attacks or breaches this Server, place an Infection counter on it. An Avatar with 3+ Infection counters has -2 Core.","V",,,,,, "Recursive Infection","1","Program Front","Card Back","6",,"Whenever an enemy Avatar attacks or breaches this Server, place an Infection counter on it. An Avatar with 3+ Infection counters has -2 Core.","V",,,,,,,"1"
"Memory Parasite","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server have 1 hardware component disabled of the owners choosing.","V",,,,,, "Memory Parasite","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server have 1 hardware component disabled of the owners choosing.","V",,,,,,,"1"
"Replication Routine","1","Program Front","Card Back","6",,"When you install a Virus Program on this Server, you may install a second Virus Program from your hand here for no RAM cost.","V",,,,,, "Replication Routine","1","Program Front","Card Back","6",,"When you install a Virus Program on this Server, you may install a second Virus Program from your hand here for no RAM cost.","V",,,,,,,"1"
"Resource Leech","1","Program Front","Card Back","5",,"Whenever an enemy Avatar is destroyed while attacking this Server, gain 5 RAM.","V",,,,,, "Resource Leech","1","Program Front","Card Back","5",,"Whenever an enemy Avatar takes damage while attacking this Server, gain 3 RAM.","V",,,,,,,"1"
"Worm Protocol","1","Program Front","Card Back","4",,"The localized effects of your other Programs on this Server also apply at one adjacent Server you choose when this is installed.","V",,,,,, "Worm Protocol","1","Program Front","Card Back","4",,"The localized effects of your other Programs on this Server also apply at one adjacent Server you choose when this is installed.","V",,,,,,,"1"
"Payload Injector","1","Program Front","Card Back","6",,"The first Execution you play targeting this Server each round costs 2 less RAM.","V",,,,,, "Payload Injector","1","Program Front","Card Back","6",,"The first Execution you play targeting this Server each round costs 2 less RAM.","V",,,,,,,"1"
"Persistent Infection","1","Program Front","Card Back","6",,"If an Avatar is defeated at this Server, place an Infection Counter on it permanently.","V",,,,,, "Persistent Infection","1","Program Front","Card Back","6",,"Whenever an enemy Avatar takes damage at this Server, place an Infection counter on it permanently.","V",,,,,,,"1"
"Infinite Loop","1","Program Front","Card Back","5",,"If the attacking Avatar is controlled by the owner of this Program, it may attack a second adjacent Server in the same command.","B",,,,,, "Infinite Loop","1","Program Front","Card Back","5",,"If the attacking Avatar is controlled by the owner of this Program, it may attack a second adjacent Server in the same command.","B",,,,,,,"1"
"Stack Overflow","1","Program Front","Card Back","7",,"Avatars you control defending this Server gain +1 Core for each Program installed on this Server (including this one).","B",,,,,, "Stack Overflow","1","Program Front","Card Back","7",,"Avatars you control defending this Server gain +1 Core for each Program installed on this Server (including this one).","B",,,,,,,"1"
"Race Condition","1","Program Front","Card Back","4",,"During any combat at this Server, both players secretly choose Attack or Defend. If the choices differ, the defender gains a combat bonus of +2 Cores.","B",,,,,, "Race Condition","1","Program Front","Card Back","4",,"During any combat at this Server, both players secretly choose Attack or Defend. If the choices differ, the defender gains a combat bonus of +2 Cores.","B",,,,,,,"1"
"Memory Leak","1","Program Front","Card Back","6",,"At the start of any combat at this Server, the attacking Avatar loses 1 Core for each Hardware installed on it.","B",,,,,, "Memory Leak","1","Program Front","Card Back","6",,"At the start of any combat at this Server, the attacking Avatar loses 1 Core for each Hardware installed on it.","B",,,,,,,"1"
"Null Pointer","1","Program Front","Card Back","5",,"Once per round, when an enemy Execution would resolve at this Server, it's effect does not occur.","B",,,,,, "Null Pointer","1","Program Front","Card Back","5",,"Once per round, when an enemy Execution would resolve at this Server, it's effect does not occur.","B",,,,,,,"1"
"Stock Rice","1","Program Front","Card Back","4",,"Neither Avatar in a combat that takes place at this Server may use any Hardware bonuses.","B",,,,,, "Stock Rice","1","Program Front","Card Back","4",,"Neither Avatar in a combat that takes place at this Server may use any Hardware bonuses.","B",,,,,,,"1"
"Overflow Error","1","Program Front","Card Back","5",,"When an enemy Avatar is destroyed while attacking this Server, destroy or disable one Program that Avatar's controller has in play.","B",,,,,, "Overflow Error","1","Program Front","Card Back","5",,"When an enemy Avatar takes damage while attacking this Server, disable one Program its controller has in play until their next command. If the Avatar was destroyed, you may destroy that Program instead.","B",,,,,,,"1"
"Undefined Behavior","1","Program Front","Card Back","8",,"Once per round, copy the localized effect of another Program on another Server. Then disable this Program until your next command.","B",,,,,, "Undefined Behavior","1","Program Front","Card Back","8",,"Once per round, copy the localized effect of another Program on another Server. Then disable this Program until your next command.","B",,,,,,,"1"
"Packet Loss","1","Program Front","Card Back","6",,"When an enemy successfully breaches this Server, its controller discards a card at random.","G",,,,,, "Packet Loss","1","Program Front","Card Back","6",,"When an enemy successfully breaches this Server, its controller discards a card at random.","G",,,,,,,"1"
"Desynchronization","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server cannot use their Hardware's ""once per round"" abilities during that combat.","G",,,,,, "Desynchronization","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server cannot use their Hardware's ""once per round"" abilities during that combat.","G",,,,,,,"1"
"Visual Artifact","1","Program Front","Card Back","5",,"The first attack made against an Avatar you control at this Server suffers -1 Core.","G",,,,,, "Visual Artifact","1","Program Front","Card Back","5",,"The first attack made against an Avatar you control at this Server suffers -1 Core.","G",,,,,,,"1"
"Ghost Process","1","Program Front","Card Back","6",,"Your Executions played targeting this Server may also affect Avatars, Programs, and Hardware at one adjacent Server.","G",,,,,, "Ghost Process","1","Program Front","Card Back","6",,"Your Executions played targeting this Server may also affect Avatars, Programs, and Hardware at one adjacent Server.","G",,,,,,,"1"
"False Positive","1","Program Front","Card Back","7",,"When an enemy Execution targets an Avatar you control at this Server, you may redirect it to another legal Avatar at another Server.","G",,,,,, "False Positive","1","Program Front","Card Back","7",,"When an enemy Execution targets an Avatar you control at this Server, you may redirect it to another legal Avatar at another Server.","G",,,,,,,"1"
"Fragmentation","1","Program Front","Card Back","6",,"Executions your opponents play targeting this Server cost +2 RAM.","G",,,,,, "Fragmentation","1","Program Front","Card Back","6",,"Executions your opponents play targeting this Server cost +2 RAM.","G",,,,,,,"1"
"Latency Spike","1","Program Front","Card Back","5",,"The attacking player cannot play Executions during the first step of any combat at this Server.","G",,,,,, "Latency Spike","1","Program Front","Card Back","5",,"The attacking player cannot play Executions during the first step of any combat at this Server.","G",,,,,,,"1"
"Hotfix","1","Program Front","Card Back","7",,"The first Program on this Server that would be destroyed each round is instead disabled until your next command.","P",,,,,, "Hotfix","1","Program Front","Card Back","7",,"The first Program on this Server that would be destroyed each round is instead disabled until your next command.","P",,,,,,,"1"
"Error Correction","1","Program Front","Card Back","5",,"At the beginning of your first command each round, remove one negative counter or status from each Avatar you control at this Server.","P",,,,,, "Error Correction","1","Program Front","Card Back","5",,"At the beginning of your first command each round, remove one negative counter or status from each Avatar you control at this Server.","P",,,,,,,"1"
"Garbage Collection","1","Program Front","Card Back","6",,"Once per round, sacrifice one Program installed on this Server to recover its printed RAM value.","P",,,,,, "Garbage Collection","1","Program Front","Card Back","6",,"Once per round, sacrifice one Program installed on this Server to recover its printed RAM value.","P",,,,,,,"1"
"Version Control","1","Program Front","Card Back","5",,"When a Program on this Server would be destroyed, or when this Server is captured, return one Program from this Server to your hand instead of discarding it.","P",,,,,, "Version Control","1","Program Front","Card Back","5",,"When a Program on this Server would be destroyed, or when this Server is captured, return one Program from this Server to your hand instead of discarding it.","P",,,,,,,"1"
"Rollback Routine","1","Program Front","Card Back","4",,"Once per round, undo the most recent temporary stat reduction applied to an Avatar you control at this Server.","P",,,,,, "Rollback Routine","1","Program Front","Card Back","4",,"Once per round, undo the most recent temporary stat reduction applied to an Avatar you control at this Server.","P",,,,,,,"1"
"Compatibility Layer","1","Program Front","Card Back","6",,"This Server may hold one additional Program beyond the normal limit, and Patch Programs installed here cost 2 less RAM.","P",,,,,, "Compatibility Layer","1","Program Front","Card Back","6",,"This Server may hold one additional Program beyond the normal limit, and Patch Programs installed here cost 2 less RAM.","P",,,,,,,"1"
"RAM Expansion","1","Hardware Front","Card Back","5",,"Avatar gains +2 Core capacity.",,,,,,, "RAM Expansion","1","Hardware Front","Card Back","5",,"Avatar gains +2 Health.",,,,,,,,"1"
"Additional Core","1","Hardware Front","Card Back","5",,"Avatar gains +1 Core.",,,,,,, "Additional Core","1","Hardware Front","Card Back","5",,"Avatar gains +1 Core.",,,,,,,,"1"
"Overclocked CPU","1","Hardware Front","Card Back","6",,"Avatar gains +2 Cores during combat, but one installed Program at the current server becomes disabled afterward for 2 commands.",,,,,,, "Overclocked CPU","1","Hardware Front","Card Back","6",,"Avatar gains +2 Cores during combat, but one installed Program at the current server becomes disabled afterward for 2 commands.",,,,,,,,"1"
"Solid-State Cache","1","Hardware Front","Card Back","6",,"The first Program installed on the occupied Server each round costs 3 less RAM.",,,,,,, "Solid-State Cache","1","Hardware Front","Card Back","6",,"The first Program installed on the occupied Server each round costs 3 less RAM.",,,,,,,,"1"
"Redundant Power Supply","1","Hardware Front","Card Back","8",,"The first time this Avatar would be destroyed, do not destroy the Hardware.",,,,,,, "Redundant Power Supply","1","Hardware Front","Card Back","8",,"The first time this Avatar would be destroyed, do not destroy the Hardware.",,,,,,,,"1"
"Network Interface Upgrade","1","Hardware Front","Card Back","4",,"This Hardware can be played without taking an upgrade port on the Avatar.",,,,,,, "Network Interface Upgrade","1","Hardware Front","Card Back","4",,"This Hardware can be played without taking an upgrade port on the Avatar.",,,,,,,,"1"
"Dedicated GPU","1","Hardware Front","Card Back","6",,"Executions performed by this Avatar receive +1 effectiveness or combat strength.",,,,,,, "Dedicated GPU","1","Hardware Front","Card Back","6",,"Executions performed by this Avatar receive +1 effectiveness or combat strength.",,,,,,,,"1"
"ECC Memory","1","Hardware Front","Card Back","5",,"Opponents cannot place Bug counters or Bug status effects on this Avatar.",,,,,,, "ECC Memory","1","Hardware Front","Card Back","5",,"Opponents cannot place Bug counters or Bug status effects on this Avatar.",,,,,,,,"1"
"Cooling System","1","Hardware Front","Card Back","6",,"Allow one Hardware to activate twice per round.",,,,,,, "Cooling System","1","Hardware Front","Card Back","6",,"Allow one Hardware to activate twice per round.",,,,,,,,"1"
"RAID Array","1","Hardware Front","Card Back","5",,"When this Avatar is destroyed, all hardware can be kept by paying half the RAM cost.",,,,,,, "RAID Array","1","Hardware Front","Card Back","5",,"When this Avatar is destroyed, all hardware can be kept by paying half the RAM cost.",,,,,,,,"1"
"Packet Accelerator","1","Hardware Front","Card Back","4",,"This Avatar gains +1 Core hen attacking.",,,,,,, "Packet Accelerator","1","Hardware Front","Card Back","4",,"This Avatar gains +1 Core hen attacking.",,,,,,,,"1"
"Firewall Appliance","1","Hardware Front","Card Back","6",,"The first hostile Program or Execution targeting this Avatar each round costs the opponent +3 RAM.",,,,,,, "Firewall Appliance","1","Hardware Front","Card Back","6",,"The first hostile Program or Execution targeting this Avatar each round costs the opponent +3 RAM.",,,,,,,,"1"
"Hardware Sandbox","1","Hardware Front","Card Back","7",,"Choose one Program installed on the occupied Server. It cannot be targeted by opponents.",,,,,,, "Hardware Sandbox","1","Hardware Front","Card Back","7",,"Choose one Program installed on the occupied Server. It cannot be targeted by opponents.",,,,,,,,"1"
"Diagnostic Module","1","Hardware Front","Card Back","4",,"Look at one face down card in your draw pile. You may place it at the bottom and draw another to start your first command each round.",,,,,,, "Diagnostic Module","1","Hardware Front","Card Back","4",,"Look at one face down card in your draw pile. You may place it at the bottom and draw another to start your first command each round.",,,,,,,,"1"
"Hot-Swap Bay","1","Hardware Front","Card Back","6",,"Once per round, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost.",,,,,,, "Hot-Swap Bay","1","Hardware Front","Card Back","6",,"Once per round, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost.",,,,,,,,"1"
"Quantum Coprocessor","1","Hardware Front","Card Back","9",,"Once per round when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware.",,,,,,, "Quantum Coprocessor","1","Hardware Front","Card Back","9",,"Once per round when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware.",,,,,,,,"1"
"High Efficiency RAM Server","1","Server Front Alt","Card Back",,,"Add additional 4 RAM to resource total",,,,,,, "High Efficiency RAM Server","1","Server Front","Card Back",,,"Add additional 4 RAM to resource total",,,,,,,,"1"
"MultiCore Server","1","Server Front Alt","Card Back",,,"Add 2 Cores to any Avatars",,,,,,, "MultiCore Server","1","Server Front","Card Back",,,"Add 2 Cores to any Avatars",,,,,,,,"1"
"Cluster Server","1","Server Front Alt","Card Back",,,"Up to 2 Avatars can defend this Server",,,,,,, "Cluster Server","1","Server Front","Card Back",,,"Up to 2 Avatars can defend this Server",,,,,,,,"1"
"Power Server","1","Server Front Alt","Card Back",,,"Add additional 4 RAM to resource total",,,,,,, "Power Server","1","Server Front","Card Back",,,"Add additional 4 RAM to resource total",,,,,,,,"1"
"Backup Server","1","Server Front Alt","Card Back",,,"Duplicate Avatar based at this Server",,,,,,, "Backup Server","1","Server Front","Card Back",,,"Duplicate Avatar based at this Server",,,,,,,,"1"
"Server Farm","1","Server Front Alt","Card Back",,,"Add 4 RAM to resource total and 2 Cores to any Avatar",,,,,,, "Server Farm","1","Server Front","Card Back",,,"Add 4 RAM to resource total and 2 Cores to any Avatar",,,,,,,,"1"
"Upgraded Hardware","1","Server Front Alt","Card Back",,,"Hardware upgrades cost 2 less RAM to install",,,,,,, "Upgraded Hardware","1","Server Front","Card Back",,,"Hardware upgrades cost 2 less RAM to install",,,,,,,,"1"
"Network Throttle","1","Server Front Alt","Card Back",,,"Firewalls cost 1 less RAM to install",,,,,,, "Network Throttle","1","Server Front","Card Back",,,"Firewalls cost 1 less RAM to install",,,,,,,,"1"
"Cloud Compute","1","Server Front Alt","Card Back",,,"Add 4 Cores to any Avatars",,,,,,, "Cloud Compute","1","Server Front","Card Back",,,"Add 4 Cores to any Avatars",,,,,,,,"1"
"Duplicate Server","1","Server Front Alt","Card Back",,,"Copy one adjacent Server ability",,,,,,, "Duplicate Server","1","Server Front","Card Back",,,"Copy one adjacent Server ability",,,,,,,,"1"
"Pingable Server","1","Server Front Alt","Card Back",,,"Up to 2 Avatars can defend this Server",,,,,,, "Pingable Server","1","Server Front","Card Back",,,"Up to 2 Avatars can defend this Server",,,,,,,,"1"
"Protected Server","1","Server Front Alt","Card Back",,,"Add 2 RAM if defending this Server",,,,,,, "Protected Server","1","Server Front","Card Back",,,"Add 2 RAM if defending this Server",,,,,,,,"1"
"Callable Server","1","Server Front Alt","Card Back",,,"When drawing a card, you may choose to place it on the bottom of the deck and draw another",,,,,,, "Callable Server","1","Server Front","Card Back",,,"When drawing a card, you may choose to place it on the bottom of the deck and draw another",,,,,,,,"1"
"Execute: Disconnect","1","Execution Front","Card Back","4",,"Move one Avatar you control at the target Server to an adjacent Server, removing it from any combat there.",,,,,,, "Execute: Disconnect","1","Execution Front","Card Back","4",,"Move one Avatar you control at the target Server to an adjacent Server, removing it from any combat there.",,,,,,,,"1"
"Execute: Sabotage","1","Execution Front","Card Back","7",,"Destroy or disable one Hardware on an enemy Avatar in combat at the target Server.",,,,,,, "Execute: Sabotage","1","Execution Front","Card Back","7",,"Destroy or disable one Hardware on an enemy Avatar in combat at the target Server.",,,,,,,,"1"
"Execute: Kill Process","1","Execution Front","Card Back","5",,"Disable one Program installed on the target Server until its controller's next command.",,,,,,, "Execute: Kill Process","1","Execution Front","Card Back","5",,"Disable one Program installed on the target Server until its controller's next command.",,,,,,,,"1"
"Execute: Force Reboot","1","Execution Front","Card Back","5",,"Remove all temporary bonuses and penalties from one Avatar you control at the target Server, or one Avatar attacking it. That Avatar cannot play another Execution until end of current command.",,,,,,, "Execute: Force Reboot","1","Execution Front","Card Back","5",,"Remove all temporary bonuses and penalties from one Avatar you control at the target Server, or one Avatar attacking it. That Avatar cannot play another Execution until end of current command.",,,,,,,,"1"
"Execute: Fork","1","Execution Front","Card Back","7",,"Copy the localized effect of one Program installed on the target Server until end of current command.",,,,,,, "Execute: Fork","1","Execution Front","Card Back","7",,"Copy the localized effect of one Program installed on the target Server until end of current command.",,,,,,,,"1"
"Execute: Ping Sweep","1","Execution Front","Card Back","4",,"You may draw 2 cards from the top of your deck.",,,,,,, "Execute: Ping Sweep","1","Execution Front","Card Back","4",,"You may draw 2 cards from the top of your deck.",,,,,,,,"1"
"Execute: Trace Route","1","Execution Front","Card Back","5",,"Move one Avatar you control from an adjacent Server to the target Server. If the target Server is enemy-controlled, your Avatar attacks it with +1 Core for the resulting combat.",,,,,,, "Execute: Trace Route","1","Execution Front","Card Back","5",,"Move one Avatar you control from an adjacent Server to the target Server. If the target Server is enemy-controlled, your Avatar attacks it with +1 Core for the resulting combat.",,,,,,,,"1"
"Execute: Override","1","Execution Front","Card Back","5",,"Choose one enemy Program installed on the target Server. Ignore its text until end of current command.",,,,,,, "Execute: Override","1","Execution Front","Card Back","5",,"Choose one enemy Program installed on the target Server. Ignore its text until end of current command.",,,,,,,,"1"
"Execute: Memory Dump","1","Execution Front","Card Back","4",,"Draw 2 cards, then discard 1. If you control the target Server, draw 1 extra card instead of discarding.",,,,,,, "Execute: Memory Dump","1","Execution Front","Card Back","4",,"Draw 2 cards, then discard 1. If you control the target Server, draw 1 extra card instead of discarding.",,,,,,,,"1"
"Execute: Rollback","1","Execution Front","Card Back","4",,"Return one Program or Hardware installed at the target Server this command to its owner's hand.",,,,,,, "Execute: Rollback","1","Execution Front","Card Back","4",,"Return one Program or Hardware installed at the target Server this command to its owner's hand.",,,,,,,,"1"
"Execute: Root Access","1","Execution Front","Card Back","4",,"Until end of current command, your Programs and Executions at the target Server may target protected Programs and Hardware as though they were unprotected.",,,,,,, "Execute: Root Access","1","Execution Front","Card Back","4",,"Until end of current command, your Programs and Executions at the target Server may target protected Programs and Hardware as though they were unprotected.",,,,,,,,"1"
"Execute: Packet Flood","1","Execution Front","Card Back","5",,"Avatars based at the target Server cannot move or retreat until the start of their controller's next command.",,,,,,, "Execute: Packet Flood","1","Execution Front","Card Back","5",,"Avatars based at the target Server cannot move or retreat until the start of their controller's next command.",,,,,,,,"1"
"Execute: Emergency Shutdown","1","Execution Front","Card Back","6",,"End any combat at the target Server immediately. All Avatars there remain and become Disabled until end of current command.",,,,,,, "Execute: Emergency Shutdown","1","Execution Front","Card Back","6",,"End any combat at the target Server immediately. All Avatars there remain and become Disabled until end of current command.",,,,,,,,"1"
"Execute: Process Clone","1","Execution Front","Card Back","7",,"Choose one Program installed on the target Server you control. Treat it as though a second copy were installed there until end of current command.",,,,,,, "Execute: Process Clone","1","Execution Front","Card Back","7",,"Choose one Program installed on the target Server you control. Treat it as though a second copy were installed there until end of current command.",,,,,,,,"1"
"Execute: Defragment","1","Execution Front","Card Back","4",,"Re-enable one Disabled Program on the target Server, or one Disabled Hardware on an Avatar there.",,,,,,, "Execute: Defragment","1","Execution Front","Card Back","4",,"Re-enable one Disabled Program on the target Server, or one Disabled Hardware on an Avatar there.",,,,,,,,"1"
"Execute: Remote Access","1","Execution Front","Card Back","6",,"Activate one Program installed on a Server adjacent to the target Server as though it were installed on the target Server, until end of current command.",,,,,,, "Execute: Remote Access","1","Execution Front","Card Back","6",,"Activate one Program installed on a Server adjacent to the target Server as though it were installed on the target Server, until end of current command.",,,,,,,,"1"
"Execute: Purge","1","Execution Front","Card Back","4",,"Remove all Virus/Infection counters and hostile persistent effects from every Avatar you control at the target Server.",,,,,,, "Execute: Purge","1","Execution Front","Card Back","4",,"Remove all Virus/Infection counters and hostile persistent effects from every Avatar you control at the target Server.",,,,,,,,"1"
"Execute: Hard Reset","1","Execution Front","Card Back","6",,"Uninstall any number of Programs from the target Server you control. For each card returned to your hand this way, recover 1 RAM.",,,,,,, "Execute: Hard Reset","1","Execution Front","Card Back","6",,"Uninstall any number of Programs from the target Server you control. For each card returned to your hand this way, recover 1 RAM.",,,,,,,,"1"
"Turn Sequence","1","Turn Order Front","Card Back",,,"The phases of a single player's turn, in order. Repeat each turn.",,,,,,, "Turn Sequence","1","Turn Order Front","Card Back",,,"The order of a round and the steps of one command. The first player leads every round.",,,,,,,,"1"
"Ransomware","1","Avatar Front","Card Back",,"4",,"V","ransomware","2","4","Extortion","Choose one enemy Avatar in combat with this Avatar. Its controller either pays you 2 RAM for each Hardware on it, or discards one of its Hardware.","9","2"
"Botnet","1","Avatar Front","Card Back",,"2",,"V","botnet","4","3","Command and Control","Place an Infection counter on one enemy Avatar adjacent to this Avatar. While this Avatar is in play, whenever an enemy Avatar with an Infection counter takes damage, gain 1 RAM.","12","2"
"Trojan Horse","1","Avatar Front","Card Back",,"3",,"V","trojan-horse","3","4","Payload","Choose one enemy Avatar in combat with this Avatar. Place an Infection counter on it, then it takes 1 damage for each Infection counter on it.","10","2"
"Fuzzer","1","Avatar Front","Card Back",,"3",,"B","fuzzer","3","3","Fuzz Input","Place a Bug counter on each enemy Avatar in combat with this Avatar.","10","2"
"Off By One","1","Avatar Front","Card Back",,"4",,"B","off-by-one","2","4","Boundary Error","After the roll in a combat at this Server, set one of this Avatar's dice to 6, or one enemy die to 1.","9","2"
"Heisenbug","1","Avatar Front","Card Back",,"2",,"B","heisenbug","4","3","Observer Effect","Once per round, when this Avatar takes damage, prevent 2 of that damage and place a Bug counter on the enemy Avatar that dealt it.","12","2"
"Screen Tear","1","Avatar Front","Card Back",,"3",,"G","screen-tear","3","4","Tear","This command, this Avatar may attack a location two lines away as though it were adjacent, crossing at most one Firewall.","10","2"
"Phantom Cursor","1","Avatar Front","Card Back",,"2",,"G","phantom-cursor","4","3","Haunt","Look at the top 2 cards of your opponent's Server pile and put one of them on the bottom. If this Avatar breached a Server this command, draw a card.","12","2"
"Dead Pixel","1","Avatar Front","Card Back",,"4",,"G","dead-pixel","2","3","Blackout","Until your next command, the Server this Avatar stands on counts as adjacent to nothing for enemy Executions and Programs.","9","2"
"Service Pack","1","Avatar Front","Card Back",,"3",,"P","service-pack","3","4","Roll Out","Re-enable all of your disabled Hardware and Programs at this Server, and remove 2 damage from this Avatar.","10","2"
"Long Term Support","1","Avatar Front","Card Back",,"4",,"P","long-term-support","2","3","Stable Branch","Until your next command, each time this Avatar would take damage, it takes 2 less.","9","2"
"Checksum","1","Avatar Front","Card Back",,"2",,"P","checksum","4","4","Rebuild","Move one Hardware from an Avatar you control at an adjacent Server onto this Avatar. It must fit its ports.","12","2"
"Zero-Day","1","Program Front","Card Back","5",,"When your Avatar attacks from this Server, place an Infection counter on each defender before the roll.","V",,,,,,,"2"
"Keylogger","1","Program Front","Card Back","5",,"Whenever an enemy Avatar with an Infection counter attacks this Server, look at its controller's hand and choose a card. They discard it unless they pay 2 RAM.","V",,,,,,,"2"
"Rootkit","1","Program Front","Card Back","6",,"At the start of your first command each round, each enemy Avatar with an Infection counter that is adjacent to this Server takes 1 damage.","V",,,,,,,"2"
"Drive-By Download","1","Program Front","Card Back","4",,"When an enemy Avatar breaches this Server, place 2 Infection counters on it.","V",,,,,,,"2"
"Segmentation Fault","1","Program Front","Card Back","5",,"Enemy Avatars with 2 or more Bug counters attacking this Server roll one die fewer.","B",,,,,,,"2"
"Unhandled Exception","1","Program Front","Card Back","4",,"When a combat at this Server ends in a stalemate, place a Bug counter on the attacker and gain 2 RAM. When an Avatar attacking this Server loses the roll by exactly 1, it takes 1 more damage.","B",,,,,,,"2"
"Heap Corruption","1","Program Front","Card Back","5",,"When your Avatar attacks from this Server, place a Bug counter on each defender before the roll.","B",,,,,,,"2"
"Bit Rot","1","Program Front","Card Back","5",,"At the start of your first command each round, place a Bug counter on each enemy Avatar adjacent to this Server that already has one.","B",,,,,,,"2"
"Tunnel","1","Program Front","Card Back","5",,"Your Avatars may advance and attack along Firewalled lines touching this Server as though the Firewalls were not there.","G",,,,,,,"2"
"Mirror Site","1","Program Front","Card Back","6",,"When you install this, choose a location that is not adjacent to this Server. For your Avatars, this Server counts as adjacent to it.","G",,,,,,,"2"
"Session Hijack","1","Program Front","Card Back","4",,"Whenever an enemy Avatar adjacent to this Server is recalled, draw a card.","G",,,,,,,"2"
"Packet Sniffer","1","Program Front","Card Back","4",,"When an enemy Avatar breaches this Server, look at its controller's hand and draw a card.","G",,,,,,,"2"
"Uptime Monitor","1","Program Front","Card Back","5",,"At the start of your first command each round, gain 1 RAM for each Patch Program you control, up to 3.","P",,,,,,,"2"
"Warm Standby","1","Program Front","Card Back","5",,"When your Avatar defending this Server is destroyed, it may be placed again this round.","P",,,,,,,"2"
"Hot Patch","1","Program Front","Card Back","5",,"At the start of your first command each round, remove 1 damage from each Avatar you control at this Server, or 2 from each Patch Avatar.","P",,,,,,,"2"
"Failover","1","Program Front","Card Back","4",,"When your Avatar defending this Server is destroyed, return one of its Hardware to your hand instead of discarding it.","P",,,,,,,"2"
"Sandbox Mode","1","Program Front","Card Back","5",,"Avatars you control at this Server cannot receive Infection or Bug counters.","P",,,,,,,"2"
"Payload Module","1","Hardware Front","Card Back","5",,"When this Avatar wins a roll, place an Infection counter on each enemy Avatar adjacent to it.",,,,,,,,"2"
"Exploit Kit","1","Hardware Front","Card Back","5",,"This Avatar has +1 Core in combat against an Avatar with an Infection counter.",,,,,,,,"2"
"Watchdog Timer","1","Hardware Front","Card Back","5",,"Once per round, in a combat this Avatar is in, one of its dice showing 1 counts as 6.",,,,,,,,"2"
"Bug Injector","1","Hardware Front","Card Back","4",,"When this Avatar attacks, place a Bug counter on one defender before the roll.",,,,,,,,"2"
"Spoofed MAC","1","Hardware Front","Card Back","5",,"Enemy Programs do not treat this Avatar as attacking their Server.",,,,,,,,"2"
"Proxy Relay","1","Hardware Front","Card Back","4",,"Level 1 Firewalls do not block this Avatar.",,,,,,,,"2"
"Surge Protector","1","Hardware Front","Card Back","5",,"The first Core penalty on this Avatar each round is ignored. If a Patch Avatar wears this, the second is too.",,,,,,,,"2"
"Heat Sink","1","Hardware Front","Card Back","6",,"This Avatar has +2 Health, or +4 if it is a Patch Avatar.",,,,,,,,"2"
"Execute: Quarantine","1","Execution Front","Card Back","4",,"Choose one enemy Avatar with an Infection counter at the target Server. It cannot advance or attack until its controller's next command. If a Virus Avatar you control is at the target Server, it also has -1 Core this combat.",,,,,,,,"2"
"Execute: Data Siphon","1","Execution Front","Card Back","4",,"Gain 1 RAM for each Infection counter on enemy Avatars at the target Server, up to 5.",,,,,,,,"2"
"Execute: Fuzz","1","Execution Front","Card Back","4",,"After the roll in a combat at the target Server, reroll every die showing 1 on one side. If a Bug Avatar you control is in the combat you choose the side; otherwise your opponent does.",,,,,,,,"2"
"Execute: Segfault","1","Execution Front","Card Back","4",,"Deal 2 damage to one Avatar at the target Server, or 3 if a Bug Avatar you control is in combat there.",,,,,,,,"2"
"Execute: Port Scan","1","Execution Front","Card Back","3",,"Look at one of your opponent's face-down Avatars. If a Glitch Avatar you control is at the target Server, draw a card.",,,,,,,,"2"
"Execute: Lag Spike","1","Execution Front","Card Back","4",,"One enemy Avatar at the target Server cannot be recalled or placed until its controller's next command. If a Glitch Avatar you control is at the target Server, it also takes 1 damage.",,,,,,,,"2"
"Execute: Snapshot","1","Execution Front","Card Back","4",,"Until the end of the current command, one Hardware on an Avatar you control at the target Server is protected.",,,,,,,,"2"
"Execute: Snapshot Restore","1","Execution Front","Card Back","4",,"Remove 4 damage from one Avatar you control at the target Server. If it is a Patch Avatar, also re-enable its disabled Hardware.",,,,,,,,"2"
"Quarantine Host","1","Server Front","Card Back",,,"Virus Programs installed here cost 2 less RAM",,,,,,,,"2"
"Test Bench","1","Server Front","Card Back",,,"When a combat starts here, place a Bug counter on the attacker if a Bug Program is installed here",,,,,,,,"2"
"Proxy Node","1","Server Front","Card Back",,,"Executions you play targeting this Server may target an adjacent Server instead",,,,,,,,"2"
"Stable Release","1","Server Front","Card Back",,,"Patch Programs installed here cannot be disabled",,,,,,,,"2"
"Cache Server","1","Server Front","Card Back",,,"Gain 2 RAM when you capture this Server back from an enemy",,,,,,,,"2"
"Honeypot","1","Server Front","Card Back",,,"The first Avatar to attack this Server each round has -1 Core",,,,,,,,"2"
"Load Balancer","1","Server Front","Card Back",,,"Once per round, your Avatar here may swap places with another Avatar you control at an adjacent Server",,,,,,,,"2"
1 Name Count Front Template Back Template RAM Cores Description Type Image Expansion Slots Ability Cost Ability Name Ability Description Health Set
2 Carbon NanoBots 1 Avatar Front Card Back 2 Nasty little bugs... B nano-bots 4 5 6 Replicate Avatar may create a copy of itself. Only one copy is allowed at a time. If the copy is defeated the original does not lose any hardware upgrades. If the original is defeated the replicate is as well. 12 10 1
3 Corrupt Driver 1 Avatar Front Card Back 3 V driver-ascii-art 3 4 Driver Fault Choose one Hardware on an enemy Avatar in combat with this Avatar. It is disabled until the end of your next command. 10 1
4 Pixelated Picture 1 Avatar Front Card Back 3 G pix 3 3 Low Resolution Attacking Avatars have -1 cores against this Avatar. 10 1
5 Beta Version 1.0 1 Avatar Front Card Back 4 P broken-bits 2 4 Push Update While in combat an additional piece of hardware can be placed on this avatar until the end of your command. If there no ports available this can still be attached. 9 1
6 Code Zero 1 Avatar Front Card Back 3 V code-zero 4 4 Patient Zero Place an Infection counter on every enemy Avatar in combat at this Server. While this Avatar is in play, an Avatar with 1+ Infection counters has -1 Core. 10 1
7 Data Leaker 1 Avatar Front Card Back 3 G data-leaker 3 3 Exfiltrate Look at your opponent's hand and choose one card in it. They must discard that card without gaining RAM. If this Avatar breached a Server this command, draw a card. 10 1
8 Backup Machine 1 Avatar Front Card Back 3 P backup 3 5 Restore Point Return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM. Remove 3 damage from this Avatar, or return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM. 10 1
9 Broken Bits 1 Avatar Front Card Back 4 B broken-bits-2 2 4 Bit Flip During a combat at this Server, reroll any number of this Avatar's Core dice. 9 1
10 Recursive Infection 1 Program Front Card Back 6 Whenever an enemy Avatar attacks or breaches this Server, place an Infection counter on it. An Avatar with 3+ Infection counters has -2 Core. V 1
11 Memory Parasite 1 Program Front Card Back 5 Enemy Avatars attacking this Server have 1 hardware component disabled of the owners choosing. V 1
12 Replication Routine 1 Program Front Card Back 6 When you install a Virus Program on this Server, you may install a second Virus Program from your hand here for no RAM cost. V 1
13 Resource Leech 1 Program Front Card Back 5 Whenever an enemy Avatar is destroyed while attacking this Server, gain 5 RAM. Whenever an enemy Avatar takes damage while attacking this Server, gain 3 RAM. V 1
14 Worm Protocol 1 Program Front Card Back 4 The localized effects of your other Programs on this Server also apply at one adjacent Server you choose when this is installed. V 1
15 Payload Injector 1 Program Front Card Back 6 The first Execution you play targeting this Server each round costs 2 less RAM. V 1
16 Persistent Infection 1 Program Front Card Back 6 If an Avatar is defeated at this Server, place an Infection Counter on it permanently. Whenever an enemy Avatar takes damage at this Server, place an Infection counter on it permanently. V 1
17 Infinite Loop 1 Program Front Card Back 5 If the attacking Avatar is controlled by the owner of this Program, it may attack a second adjacent Server in the same command. B 1
18 Stack Overflow 1 Program Front Card Back 7 Avatars you control defending this Server gain +1 Core for each Program installed on this Server (including this one). B 1
19 Race Condition 1 Program Front Card Back 4 During any combat at this Server, both players secretly choose Attack or Defend. If the choices differ, the defender gains a combat bonus of +2 Cores. B 1
20 Memory Leak 1 Program Front Card Back 6 At the start of any combat at this Server, the attacking Avatar loses 1 Core for each Hardware installed on it. B 1
21 Null Pointer 1 Program Front Card Back 5 Once per round, when an enemy Execution would resolve at this Server, it's effect does not occur. B 1
22 Stock Rice 1 Program Front Card Back 4 Neither Avatar in a combat that takes place at this Server may use any Hardware bonuses. B 1
23 Overflow Error 1 Program Front Card Back 5 When an enemy Avatar is destroyed while attacking this Server, destroy or disable one Program that Avatar's controller has in play. When an enemy Avatar takes damage while attacking this Server, disable one Program its controller has in play until their next command. If the Avatar was destroyed, you may destroy that Program instead. B 1
24 Undefined Behavior 1 Program Front Card Back 8 Once per round, copy the localized effect of another Program on another Server. Then disable this Program until your next command. B 1
25 Packet Loss 1 Program Front Card Back 6 When an enemy successfully breaches this Server, its controller discards a card at random. G 1
26 Desynchronization 1 Program Front Card Back 5 Enemy Avatars attacking this Server cannot use their Hardware's "once per round" abilities during that combat. G 1
27 Visual Artifact 1 Program Front Card Back 5 The first attack made against an Avatar you control at this Server suffers -1 Core. G 1
28 Ghost Process 1 Program Front Card Back 6 Your Executions played targeting this Server may also affect Avatars, Programs, and Hardware at one adjacent Server. G 1
29 False Positive 1 Program Front Card Back 7 When an enemy Execution targets an Avatar you control at this Server, you may redirect it to another legal Avatar at another Server. G 1
30 Fragmentation 1 Program Front Card Back 6 Executions your opponents play targeting this Server cost +2 RAM. G 1
31 Latency Spike 1 Program Front Card Back 5 The attacking player cannot play Executions during the first step of any combat at this Server. G 1
32 Hotfix 1 Program Front Card Back 7 The first Program on this Server that would be destroyed each round is instead disabled until your next command. P 1
33 Error Correction 1 Program Front Card Back 5 At the beginning of your first command each round, remove one negative counter or status from each Avatar you control at this Server. P 1
34 Garbage Collection 1 Program Front Card Back 6 Once per round, sacrifice one Program installed on this Server to recover its printed RAM value. P 1
35 Version Control 1 Program Front Card Back 5 When a Program on this Server would be destroyed, or when this Server is captured, return one Program from this Server to your hand instead of discarding it. P 1
36 Rollback Routine 1 Program Front Card Back 4 Once per round, undo the most recent temporary stat reduction applied to an Avatar you control at this Server. P 1
37 Compatibility Layer 1 Program Front Card Back 6 This Server may hold one additional Program beyond the normal limit, and Patch Programs installed here cost 2 less RAM. P 1
38 RAM Expansion 1 Hardware Front Card Back 5 Avatar gains +2 Core capacity. Avatar gains +2 Health. 1
39 Additional Core 1 Hardware Front Card Back 5 Avatar gains +1 Core. 1
40 Overclocked CPU 1 Hardware Front Card Back 6 Avatar gains +2 Cores during combat, but one installed Program at the current server becomes disabled afterward for 2 commands. 1
41 Solid-State Cache 1 Hardware Front Card Back 6 The first Program installed on the occupied Server each round costs 3 less RAM. 1
42 Redundant Power Supply 1 Hardware Front Card Back 8 The first time this Avatar would be destroyed, do not destroy the Hardware. 1
43 Network Interface Upgrade 1 Hardware Front Card Back 4 This Hardware can be played without taking an upgrade port on the Avatar. 1
44 Dedicated GPU 1 Hardware Front Card Back 6 Executions performed by this Avatar receive +1 effectiveness or combat strength. 1
45 ECC Memory 1 Hardware Front Card Back 5 Opponents cannot place Bug counters or Bug status effects on this Avatar. 1
46 Cooling System 1 Hardware Front Card Back 6 Allow one Hardware to activate twice per round. 1
47 RAID Array 1 Hardware Front Card Back 5 When this Avatar is destroyed, all hardware can be kept by paying half the RAM cost. 1
48 Packet Accelerator 1 Hardware Front Card Back 4 This Avatar gains +1 Core hen attacking. 1
49 Firewall Appliance 1 Hardware Front Card Back 6 The first hostile Program or Execution targeting this Avatar each round costs the opponent +3 RAM. 1
50 Hardware Sandbox 1 Hardware Front Card Back 7 Choose one Program installed on the occupied Server. It cannot be targeted by opponents. 1
51 Diagnostic Module 1 Hardware Front Card Back 4 Look at one face down card in your draw pile. You may place it at the bottom and draw another to start your first command each round. 1
52 Hot-Swap Bay 1 Hardware Front Card Back 6 Once per round, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost. 1
53 Quantum Coprocessor 1 Hardware Front Card Back 9 Once per round when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware. 1
54 High Efficiency RAM Server 1 Server Front Alt Server Front Card Back Add additional 4 RAM to resource total 1
55 MultiCore Server 1 Server Front Alt Server Front Card Back Add 2 Cores to any Avatars 1
56 Cluster Server 1 Server Front Alt Server Front Card Back Up to 2 Avatars can defend this Server 1
57 Power Server 1 Server Front Alt Server Front Card Back Add additional 4 RAM to resource total 1
58 Backup Server 1 Server Front Alt Server Front Card Back Duplicate Avatar based at this Server 1
59 Server Farm 1 Server Front Alt Server Front Card Back Add 4 RAM to resource total and 2 Cores to any Avatar 1
60 Upgraded Hardware 1 Server Front Alt Server Front Card Back Hardware upgrades cost 2 less RAM to install 1
61 Network Throttle 1 Server Front Alt Server Front Card Back Firewalls cost 1 less RAM to install 1
62 Cloud Compute 1 Server Front Alt Server Front Card Back Add 4 Cores to any Avatars 1
63 Duplicate Server 1 Server Front Alt Server Front Card Back Copy one adjacent Server ability 1
64 Pingable Server 1 Server Front Alt Server Front Card Back Up to 2 Avatars can defend this Server 1
65 Protected Server 1 Server Front Alt Server Front Card Back Add 2 RAM if defending this Server 1
66 Callable Server 1 Server Front Alt Server Front Card Back When drawing a card, you may choose to place it on the bottom of the deck and draw another 1
67 Execute: Disconnect 1 Execution Front Card Back 4 Move one Avatar you control at the target Server to an adjacent Server, removing it from any combat there. 1
68 Execute: Sabotage 1 Execution Front Card Back 7 Destroy or disable one Hardware on an enemy Avatar in combat at the target Server. 1
69 Execute: Kill Process 1 Execution Front Card Back 5 Disable one Program installed on the target Server until its controller's next command. 1
70 Execute: Force Reboot 1 Execution Front Card Back 5 Remove all temporary bonuses and penalties from one Avatar you control at the target Server, or one Avatar attacking it. That Avatar cannot play another Execution until end of current command. 1
71 Execute: Fork 1 Execution Front Card Back 7 Copy the localized effect of one Program installed on the target Server until end of current command. 1
72 Execute: Ping Sweep 1 Execution Front Card Back 4 You may draw 2 cards from the top of your deck. 1
73 Execute: Trace Route 1 Execution Front Card Back 5 Move one Avatar you control from an adjacent Server to the target Server. If the target Server is enemy-controlled, your Avatar attacks it with +1 Core for the resulting combat. 1
74 Execute: Override 1 Execution Front Card Back 5 Choose one enemy Program installed on the target Server. Ignore its text until end of current command. 1
75 Execute: Memory Dump 1 Execution Front Card Back 4 Draw 2 cards, then discard 1. If you control the target Server, draw 1 extra card instead of discarding. 1
76 Execute: Rollback 1 Execution Front Card Back 4 Return one Program or Hardware installed at the target Server this command to its owner's hand. 1
77 Execute: Root Access 1 Execution Front Card Back 4 Until end of current command, your Programs and Executions at the target Server may target protected Programs and Hardware as though they were unprotected. 1
78 Execute: Packet Flood 1 Execution Front Card Back 5 Avatars based at the target Server cannot move or retreat until the start of their controller's next command. 1
79 Execute: Emergency Shutdown 1 Execution Front Card Back 6 End any combat at the target Server immediately. All Avatars there remain and become Disabled until end of current command. 1
80 Execute: Process Clone 1 Execution Front Card Back 7 Choose one Program installed on the target Server you control. Treat it as though a second copy were installed there until end of current command. 1
81 Execute: Defragment 1 Execution Front Card Back 4 Re-enable one Disabled Program on the target Server, or one Disabled Hardware on an Avatar there. 1
82 Execute: Remote Access 1 Execution Front Card Back 6 Activate one Program installed on a Server adjacent to the target Server as though it were installed on the target Server, until end of current command. 1
83 Execute: Purge 1 Execution Front Card Back 4 Remove all Virus/Infection counters and hostile persistent effects from every Avatar you control at the target Server. 1
84 Execute: Hard Reset 1 Execution Front Card Back 6 Uninstall any number of Programs from the target Server you control. For each card returned to your hand this way, recover 1 RAM. 1
85 Turn Sequence 1 Turn Order Front Card Back The phases of a single player's turn, in order. Repeat each turn. The order of a round and the steps of one command. The first player leads every round. 1
86 Ransomware 1 Avatar Front Card Back 4 V ransomware 2 4 Extortion Choose one enemy Avatar in combat with this Avatar. Its controller either pays you 2 RAM for each Hardware on it, or discards one of its Hardware. 9 2
87 Botnet 1 Avatar Front Card Back 2 V botnet 4 3 Command and Control Place an Infection counter on one enemy Avatar adjacent to this Avatar. While this Avatar is in play, whenever an enemy Avatar with an Infection counter takes damage, gain 1 RAM. 12 2
88 Trojan Horse 1 Avatar Front Card Back 3 V trojan-horse 3 4 Payload Choose one enemy Avatar in combat with this Avatar. Place an Infection counter on it, then it takes 1 damage for each Infection counter on it. 10 2
89 Fuzzer 1 Avatar Front Card Back 3 B fuzzer 3 3 Fuzz Input Place a Bug counter on each enemy Avatar in combat with this Avatar. 10 2
90 Off By One 1 Avatar Front Card Back 4 B off-by-one 2 4 Boundary Error After the roll in a combat at this Server, set one of this Avatar's dice to 6, or one enemy die to 1. 9 2
91 Heisenbug 1 Avatar Front Card Back 2 B heisenbug 4 3 Observer Effect Once per round, when this Avatar takes damage, prevent 2 of that damage and place a Bug counter on the enemy Avatar that dealt it. 12 2
92 Screen Tear 1 Avatar Front Card Back 3 G screen-tear 3 4 Tear This command, this Avatar may attack a location two lines away as though it were adjacent, crossing at most one Firewall. 10 2
93 Phantom Cursor 1 Avatar Front Card Back 2 G phantom-cursor 4 3 Haunt Look at the top 2 cards of your opponent's Server pile and put one of them on the bottom. If this Avatar breached a Server this command, draw a card. 12 2
94 Dead Pixel 1 Avatar Front Card Back 4 G dead-pixel 2 3 Blackout Until your next command, the Server this Avatar stands on counts as adjacent to nothing for enemy Executions and Programs. 9 2
95 Service Pack 1 Avatar Front Card Back 3 P service-pack 3 4 Roll Out Re-enable all of your disabled Hardware and Programs at this Server, and remove 2 damage from this Avatar. 10 2
96 Long Term Support 1 Avatar Front Card Back 4 P long-term-support 2 3 Stable Branch Until your next command, each time this Avatar would take damage, it takes 2 less. 9 2
97 Checksum 1 Avatar Front Card Back 2 P checksum 4 4 Rebuild Move one Hardware from an Avatar you control at an adjacent Server onto this Avatar. It must fit its ports. 12 2
98 Zero-Day 1 Program Front Card Back 5 When your Avatar attacks from this Server, place an Infection counter on each defender before the roll. V 2
99 Keylogger 1 Program Front Card Back 5 Whenever an enemy Avatar with an Infection counter attacks this Server, look at its controller's hand and choose a card. They discard it unless they pay 2 RAM. V 2
100 Rootkit 1 Program Front Card Back 6 At the start of your first command each round, each enemy Avatar with an Infection counter that is adjacent to this Server takes 1 damage. V 2
101 Drive-By Download 1 Program Front Card Back 4 When an enemy Avatar breaches this Server, place 2 Infection counters on it. V 2
102 Segmentation Fault 1 Program Front Card Back 5 Enemy Avatars with 2 or more Bug counters attacking this Server roll one die fewer. B 2
103 Unhandled Exception 1 Program Front Card Back 4 When a combat at this Server ends in a stalemate, place a Bug counter on the attacker and gain 2 RAM. When an Avatar attacking this Server loses the roll by exactly 1, it takes 1 more damage. B 2
104 Heap Corruption 1 Program Front Card Back 5 When your Avatar attacks from this Server, place a Bug counter on each defender before the roll. B 2
105 Bit Rot 1 Program Front Card Back 5 At the start of your first command each round, place a Bug counter on each enemy Avatar adjacent to this Server that already has one. B 2
106 Tunnel 1 Program Front Card Back 5 Your Avatars may advance and attack along Firewalled lines touching this Server as though the Firewalls were not there. G 2
107 Mirror Site 1 Program Front Card Back 6 When you install this, choose a location that is not adjacent to this Server. For your Avatars, this Server counts as adjacent to it. G 2
108 Session Hijack 1 Program Front Card Back 4 Whenever an enemy Avatar adjacent to this Server is recalled, draw a card. G 2
109 Packet Sniffer 1 Program Front Card Back 4 When an enemy Avatar breaches this Server, look at its controller's hand and draw a card. G 2
110 Uptime Monitor 1 Program Front Card Back 5 At the start of your first command each round, gain 1 RAM for each Patch Program you control, up to 3. P 2
111 Warm Standby 1 Program Front Card Back 5 When your Avatar defending this Server is destroyed, it may be placed again this round. P 2
112 Hot Patch 1 Program Front Card Back 5 At the start of your first command each round, remove 1 damage from each Avatar you control at this Server, or 2 from each Patch Avatar. P 2
113 Failover 1 Program Front Card Back 4 When your Avatar defending this Server is destroyed, return one of its Hardware to your hand instead of discarding it. P 2
114 Sandbox Mode 1 Program Front Card Back 5 Avatars you control at this Server cannot receive Infection or Bug counters. P 2
115 Payload Module 1 Hardware Front Card Back 5 When this Avatar wins a roll, place an Infection counter on each enemy Avatar adjacent to it. 2
116 Exploit Kit 1 Hardware Front Card Back 5 This Avatar has +1 Core in combat against an Avatar with an Infection counter. 2
117 Watchdog Timer 1 Hardware Front Card Back 5 Once per round, in a combat this Avatar is in, one of its dice showing 1 counts as 6. 2
118 Bug Injector 1 Hardware Front Card Back 4 When this Avatar attacks, place a Bug counter on one defender before the roll. 2
119 Spoofed MAC 1 Hardware Front Card Back 5 Enemy Programs do not treat this Avatar as attacking their Server. 2
120 Proxy Relay 1 Hardware Front Card Back 4 Level 1 Firewalls do not block this Avatar. 2
121 Surge Protector 1 Hardware Front Card Back 5 The first Core penalty on this Avatar each round is ignored. If a Patch Avatar wears this, the second is too. 2
122 Heat Sink 1 Hardware Front Card Back 6 This Avatar has +2 Health, or +4 if it is a Patch Avatar. 2
123 Execute: Quarantine 1 Execution Front Card Back 4 Choose one enemy Avatar with an Infection counter at the target Server. It cannot advance or attack until its controller's next command. If a Virus Avatar you control is at the target Server, it also has -1 Core this combat. 2
124 Execute: Data Siphon 1 Execution Front Card Back 4 Gain 1 RAM for each Infection counter on enemy Avatars at the target Server, up to 5. 2
125 Execute: Fuzz 1 Execution Front Card Back 4 After the roll in a combat at the target Server, reroll every die showing 1 on one side. If a Bug Avatar you control is in the combat you choose the side; otherwise your opponent does. 2
126 Execute: Segfault 1 Execution Front Card Back 4 Deal 2 damage to one Avatar at the target Server, or 3 if a Bug Avatar you control is in combat there. 2
127 Execute: Port Scan 1 Execution Front Card Back 3 Look at one of your opponent's face-down Avatars. If a Glitch Avatar you control is at the target Server, draw a card. 2
128 Execute: Lag Spike 1 Execution Front Card Back 4 One enemy Avatar at the target Server cannot be recalled or placed until its controller's next command. If a Glitch Avatar you control is at the target Server, it also takes 1 damage. 2
129 Execute: Snapshot 1 Execution Front Card Back 4 Until the end of the current command, one Hardware on an Avatar you control at the target Server is protected. 2
130 Execute: Snapshot Restore 1 Execution Front Card Back 4 Remove 4 damage from one Avatar you control at the target Server. If it is a Patch Avatar, also re-enable its disabled Hardware. 2
131 Quarantine Host 1 Server Front Card Back Virus Programs installed here cost 2 less RAM 2
132 Test Bench 1 Server Front Card Back When a combat starts here, place a Bug counter on the attacker if a Bug Program is installed here 2
133 Proxy Node 1 Server Front Card Back Executions you play targeting this Server may target an adjacent Server instead 2
134 Stable Release 1 Server Front Card Back Patch Programs installed here cannot be disabled 2
135 Cache Server 1 Server Front Card Back Gain 2 RAM when you capture this Server back from an enemy 2
136 Honeypot 1 Server Front Card Back The first Avatar to attack this Server each round has -1 Core 2
137 Load Balancer 1 Server Front Card Back Once per round, your Avatar here may swap places with another Avatar you control at an adjacent Server 2

View file

@ -0,0 +1,250 @@
/* ======================================================
Server card — full-bleed cyber HUD node
Matches the Avatar frame: full-bleed art, neon HUD, corner
badges. Server identity = green accent + rack-glyph badge.
====================================================== */
.card {
position: relative;
height: 750px;
width: 1050px;
box-sizing: border-box;
padding: 0;
overflow: hidden;
font-family: "Consolas", "Courier New", monospace;
background: #060a0f;
--accent: #39d353;
--accent-dk: #157f31;
--chamfer: 22px;
}
/* ----- Full-bleed art ----- */
.art {
position: absolute;
inset: 0;
z-index: 0;
image-rendering: pixelated;
background-color: #ffffff;
background-image: url({{index assets card.image}});
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
/* cinematic tint: accent top-corner light, cool counter-light, dark bottom for text */
.tint {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background:
radial-gradient(70% 45% at 100% 0%, var(--accent) 0%, transparent 55%),
radial-gradient(60% 40% at 0% 8%, rgba(40,150,255,0.22) 0%, transparent 60%),
linear-gradient(180deg, rgba(3,6,9,0.55) 0%, rgba(3,6,9,0) 22%, rgba(3,6,9,0) 40%, rgba(3,6,9,0.78) 72%, rgba(3,6,9,0.96) 100%);
opacity: 0.9;
}
/* ----- Angular neon HUD frame (open chamfered corners) ----- */
.neon {
position: absolute;
inset: 13px;
z-index: 40;
pointer-events: none;
border: 3px solid var(--accent);
clip-path: polygon(
var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
);
box-shadow: 0 0 16px var(--accent), 0 0 6px var(--accent), inset 0 0 16px rgba(0,0,0,0.4);
}
.tick {
position: absolute;
z-index: 41;
width: 30px;
height: 3px;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.tick.tl { top: 27px; left: 5px; transform: rotate(45deg); }
.tick.tr { top: 27px; right: 5px; transform: rotate(-45deg); }
/* ----- Top-left: server-rack badge ----- */
.rack-badge {
position: absolute;
z-index: 5;
top: 28px;
left: 28px;
width: 116px;
height: 116px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 9px;
border-radius: 12px;
background: linear-gradient(160deg, #2a2f36 0%, #14181d 100%);
border: 2px solid var(--accent-dk);
box-shadow: 0 0 16px var(--accent), inset 0 0 10px rgba(0,0,0,0.75), 0 3px 6px rgba(0,0,0,0.6);
}
.rack-badge .u {
width: 80px;
height: 20px;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 7px;
background: linear-gradient(180deg, #20242b 0%, #14171c 100%);
border: 1px solid #0a0b0e;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.rack-badge .u::after {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 6px var(--accent);
}
/* SRV glyph under the rack badge (mirrors avatar type glyph) */
.srvchip {
position: absolute;
z-index: 5;
top: 152px;
left: 40px;
width: 92px;
height: 46px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 800;
letter-spacing: 3px;
color: #05070a;
clip-path: polygon(10% 0, 100% 0, 100% 78%, 90% 100%, 0 100%, 0 22%);
background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 14px var(--accent);
}
/* ----- Top-right: unit tab ----- */
.unit-tab {
position: absolute;
z-index: 5;
top: 34px;
right: 30px;
padding: 10px 22px 10px 30px;
font-size: 24px;
font-weight: 800;
letter-spacing: 4px;
color: #05070a;
clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 14px var(--accent);
}
/* status badge (mirrors avatar ports slot) */
.status {
position: absolute;
z-index: 5;
top: 34px;
left: 40px;
width: 140px;
height: 72px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
clip-path: polygon(10% 0, 100% 0, 100% 76%, 90% 100%, 0 100%, 0 24%);
background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 16px var(--accent);
}
.status::before {
content: "";
position: absolute;
inset: 3px;
clip-path: polygon(10% 0, 100% 0, 100% 76%, 90% 100%, 0 100%, 0 24%);
background: linear-gradient(160deg, #12181f 0%, #0a0e13 100%);
}
.status .leds { position: relative; z-index: 1; display: flex; gap: 12px; }
.status .led {
width: 14px;
height: 14px;
border-radius: 50%;
box-shadow: 0 0 8px currentColor, inset 0 0 3px rgba(0,0,0,0.4);
}
.status .led.green { background: #39d353; color: #39d353; }
.status .led.amber { background: #f0a92b; color: #f0a92b; }
.status i {
position: relative;
z-index: 1;
font-style: normal;
font-size: 15px;
font-weight: 800;
letter-spacing: 3px;
color: var(--accent);
}
/* ----- Edge micro-text ----- */
.vcode {
position: absolute;
z-index: 5;
left: 22px;
bottom: 300px;
writing-mode: vertical-rl;
transform: rotate(180deg);
font-size: 15px;
font-weight: 700;
letter-spacing: 3px;
color: rgba(230,240,235,0.55);
}
.vcredit {
position: absolute;
z-index: 5;
right: 22px;
top: 190px;
writing-mode: vertical-rl;
font-size: 15px;
font-weight: 700;
letter-spacing: 3px;
color: rgba(230,240,235,0.5);
}
/* ----- Lower content panel ----- */
.lower {
position: absolute;
z-index: 5;
left: 50px;
right: 30px;
bottom: 44px;
}
.name {
margin: 0 0 16px;
padding-bottom: 14px;
border-bottom: 2px solid var(--accent);
box-shadow: 0 2px 12px -6px var(--accent);
font-size: 44px;
font-weight: 800;
letter-spacing: 1px;
line-height: 1.04;
text-transform: uppercase;
color: #ffffff;
text-shadow: 0 0 16px rgba(0,0,0,0.9), 0 3px 6px #000;
}
.desc {
padding: 16px 18px;
min-height: 96px;
font-size: 23px;
line-height: 1.4;
color: #e8f6ec;
background: linear-gradient(180deg, rgba(4,9,7,0.86) 0%, rgba(4,9,7,0.92) 100%);
border-left: 3px solid var(--accent);
box-shadow: inset 0 0 26px rgba(0,0,0,0.5);
}
.desc .sys {
color: var(--accent);
font-weight: 800;
margin-right: 6px;
}

View file

@ -0,0 +1,37 @@
<!--
Server-Front template — full-bleed cyber HUD node (matches the Avatar family)
Card size: 750 x 1050 px (2.5in x 3.5in @ 300 DPI)
Attributes: {{card.name}} {{card.image}} {{card.description}} (Servers have no RAM/Cores)
Green signature accent. Server identity: rack-glyph badge + status LEDs.
-->
<div class="card">
<!-- Full-bleed art + cinematic tint -->
<div class="art"></div>
<div class="tint"></div>
<div class="scan"></div>
<!-- Angular neon HUD frame -->
<div class="neon"></div>
<span class="tick tl"></span>
<span class="tick tr"></span>
<!-- Top-right: unit tab + status badge -->
<div class="unit-tab">SERVER</div>
<div class="status">
<span class="leds"><i class="led green"></i><i class="led amber"></i></span>
<i>ONLINE</i>
</div>
<!-- Edge micro-text -->
<div class="vcode">FILES-TCG · SD01</div>
<div class="vcredit">SERVER NODE</div>
<!-- Lower content panel -->
<div class="lower">
<h1 class="name">{{card.name}}</h1>
<div class="desc"><span class="sys">SYS &gt;</span> {{card.description}}</div>
</div>
</div>

View file

@ -129,8 +129,8 @@
.panel { .panel {
position: relative; position: relative;
z-index: 2; z-index: 2;
margin: 12px 26px 0; margin: 10px 26px 0;
padding: 12px 18px 14px; padding: 10px 18px 12px;
border: 2px dashed var(--accent-dk); border: 2px dashed var(--accent-dk);
border-radius: 10px; border-radius: 10px;
background: rgba(34,211,238,0.04); background: rgba(34,211,238,0.04);
@ -195,7 +195,7 @@
.steps-label { .steps-label {
position: relative; position: relative;
z-index: 2; z-index: 2;
margin: 14px 30px 0; margin: 10px 30px 0;
} }
.phases { .phases {
position: relative; position: relative;
@ -210,10 +210,10 @@
align-items: center; align-items: center;
gap: 22px; gap: 22px;
padding: 2px 18px; padding: 2px 18px;
min-height: 54px; min-height: 52px;
box-sizing: border-box; box-sizing: border-box;
} }
.phases li + li { margin-top: 6px; } .phases li + li { margin-top: 4px; }
/* flow connector between step badges */ /* flow connector between step badges */
.phases li:not(:last-child)::before { .phases li:not(:last-child)::before {
content: ""; content: "";
@ -258,8 +258,8 @@
.limits { .limits {
position: relative; position: relative;
z-index: 2; z-index: 2;
margin: 14px 26px 0; margin: 10px 26px 0;
padding: 10px 18px; padding: 8px 18px;
border-left: 5px solid var(--accent); border-left: 5px solid var(--accent);
background: rgba(34,211,238,0.07); background: rgba(34,211,238,0.07);
font-size: 24px; font-size: 24px;
@ -270,6 +270,14 @@
color: #eafcff; color: #eafcff;
} }
.limits b { color: var(--accent); } .limits b { color: var(--accent); }
.limits.combat {
margin-top: 10px;
padding: 8px 18px;
font-size: 20px;
line-height: 1.3;
letter-spacing: 0.5px;
border-left-style: dashed;
}
/* ----- Status bar footer ----- */ /* ----- Status bar footer ----- */
.statusbar { .statusbar {

View file

@ -1,5 +1,5 @@
<!-- <!--
Turn-Order-Front template — round and command reference card (rules v0.8) Turn-Order-Front template — round and command reference card (rules v0.9: fixed lead, recall, Health)
Card size: 750 x 1050 px (2.5in x 3.5in @ 300 DPI) Card size: 750 x 1050 px (2.5in x 3.5in @ 300 DPI)
Static rules card: the order and steps are fixed; only the title is data-driven ({{card.name}}). Static rules card: the order and steps are fixed; only the title is data-driven ({{card.name}}).
Signature accent: cyan. Signature accent: cyan.
@ -21,17 +21,13 @@
<span class="cmd">run --commands 2 --each</span> <span class="cmd">run --commands 2 --each</span>
</div> </div>
<!-- Command order: snake --> <!-- Command order: P1 leads every round, snake within it -->
<div class="panel"> <div class="panel">
<div class="label">// command order · P1 goes first</div> <div class="label">// command order · P1 leads every round</div>
<div class="order"> <div class="order">
<span class="rnd">RND 1·3·5</span> <span class="rnd">EVERY RND</span>
<span class="chip p1">P1</span><span class="chip p2">P2</span><span class="chip p2">P2</span><span class="chip p1">P1</span> <span class="chip p1">P1</span><span class="chip p2">P2</span><span class="chip p2">P2</span><span class="chip p1">P1</span>
</div> </div>
<div class="order">
<span class="rnd">RND 2·4·6</span>
<span class="chip p2">P2</span><span class="chip p1">P1</span><span class="chip p1">P1</span><span class="chip p2">P2</span>
</div>
</div> </div>
<!-- Round start --> <!-- Round start -->
@ -46,10 +42,10 @@
<!-- Steps of one command --> <!-- Steps of one command -->
<div class="label steps-label">// each command</div> <div class="label steps-label">// each command</div>
<ol class="phases"> <ol class="phases">
<li><span class="num">1</span><span class="step">Place Avatars, then Advance One</span></li> <li><span class="num">1</span><span class="step">Place <em>or Recall</em>, then Advance One</span></li>
<li><span class="num">2</span><span class="step">Play Cards from Hand</span></li> <li><span class="num">2</span><span class="step">Play Cards from Hand</span></li>
<li><span class="num">3</span><span class="step">Attack with One <em>(if no advance)</em></span></li> <li><span class="num">3</span><span class="step">Attack with One <em>(if no advance)</em></span></li>
<li><span class="num">4</span><span class="step">Resolve Right Away</span></li> <li><span class="num">4</span><span class="step">Resolve <em>(loser takes damage)</em></span></li>
<li><span class="num">5</span><span class="step">Play Additional Cards</span></li> <li><span class="num">5</span><span class="step">Play Additional Cards</span></li>
</ol> </ol>
@ -59,6 +55,14 @@
<div>each Avatar acts once per round</div> <div>each Avatar acts once per round</div>
</div> </div>
<!-- Combat in one breath -->
<div class="limits combat">
<div>1d6 per core · <b>loser takes the difference</b></div>
<div>tie = stalemate · damage ≥ health = <b>destroyed</b></div>
<div>destroyed → slot, hardware lost</div>
<div>last defender destroyed = <b>capture</b></div>
</div>
<!-- Status bar footer --> <!-- Status bar footer -->
<div class="statusbar"> <div class="statusbar">
<span class="loop">↺ 2 COMMANDS EACH ROUND</span> <span class="loop">↺ 2 COMMANDS EACH ROUND</span>

View file

@ -1,6 +1,8 @@
# Expansion Plan: Set 2 Design Brief # Expansion Plan: Set 2 Design Brief
_Prepared 2026-09-28 against rules v0.8 and `decks/files-deck-1/cards.csv` (83 cards)._ _Prepared 2026-09-28 against rules v0.8 and `decks/files-deck-1/cards.csv` (83 cards). Updated
2026-09-29 for rules v0.9 (Health): the card changes and the re-run numbers are in section 8, and the
sketches below were revised where the Health rule changed what they lean on._
This is the preparation document for the next batch of cards. It records what the current pool This is the preparation document for the next batch of cards. It records what the current pool
looks like, what each of the four types is for, where the gaps are, what the simulator says about looks like, what each of the four types is for, where the gaps are, what the simulator says about
@ -31,12 +33,12 @@ Every Avatar sums Cores + Expansion Slots to 6, except Code Zero (3 + 4 = 7, aft
| ---- | ----------------- | ----------- | ------------------------------------------------------------ | ---------------- | | ---- | ----------------- | ----------- | ------------------------------------------------------------ | ---------------- |
| V | Corrupt Driver | 3/3 | Driver Fault (4): disable enemy Hardware in combat | Hardware denial | | V | Corrupt Driver | 3/3 | Driver Fault (4): disable enemy Hardware in combat | Hardware denial |
| V | Code Zero | 3/4 | Patient Zero (4): Infection on foes; 1+ Infection = −1 Core | Infection payoff | | V | Code Zero | 3/4 | Patient Zero (4): Infection on foes; 1+ Infection = −1 Core | Infection payoff |
| B | Carbon NanoBots | 2/4 | Replicate (5): make a copy | Board presence | | B | Carbon NanoBots | 2/4 | Replicate (6): make a copy (10 Health, was 12) | Board presence |
| B | Broken Bits | 4/2 | Bit Flip (4): reroll own dice | Dice control | | B | Broken Bits | 4/2 | Bit Flip (4): reroll own dice | Dice control |
| G | Pixelated Picture | 3/3 | Low Resolution (3): attacker −1 Core | Defensive combat | | G | Pixelated Picture | 3/3 | Low Resolution (3): attacker −1 Core | Defensive combat |
| G | Data Leaker | 3/3 | Exfiltrate (3): hand peek + targeted discard, draw on breach | Information | | G | Data Leaker | 3/3 | Exfiltrate (3): hand peek + targeted discard, draw on breach | Information |
| P | Beta Version 1.0 | 4/2 | Push Update (4): temp Hardware mid-combat, ignoring ports | Burst | | P | Beta Version 1.0 | 4/2 | Push Update (4): temp Hardware mid-combat, ignoring ports | Burst |
| P | Backup Machine | 3/3 | Restore Point (5): recover Hardware/Program from discard | Recovery | | P | Backup Machine | 3/3 | Restore Point (5): heal 3, or recover Hardware/Program | Recovery, healing |
## 2. What Each Type Is For ## 2. What Each Type Is For
@ -94,8 +96,8 @@ neutral Hardware and Executions. Type focus is mostly flavor. The expansion shou
**Card text and numbers to fix while adding cards** **Card text and numbers to fix while adding cards**
- RAM Expansion (+2 Cores, 5 RAM) strictly dominates Additional Core (+1 Core, 5 RAM). One of them - ~~RAM Expansion (+2 Cores, 5 RAM) strictly dominates Additional Core (+1 Core, 5 RAM).~~ Resolved
needs a new number. Suggest Additional Core at 4 RAM, or RAM Expansion at 7. 2026-09-29: RAM Expansion is now "+2 Health" (section 8).
- Cloud Compute gives +4 Cores. In this dice system +2 Cores is a 90 to 99% edge, so +4 makes a - Cloud Compute gives +4 Cores. In this dice system +2 Cores is a 90 to 99% edge, so +4 makes a
location nearly untouchable. It's a Server, so both players can draw it, but it swings games. location nearly untouchable. It's a Server, so both players can draw it, but it swings games.
- Typos listed in `rules.md` Open Questions: Packet Accelerator "hen attacking", Null Pointer "it's - Typos listed in `rules.md` Open Questions: Packet Accelerator "hen attacking", Null Pointer "it's
@ -113,6 +115,8 @@ Derived from the current pool. Use these as the starting point; the sim can then
| ----------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------ | | ----------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------ |
| +1 Core, permanent, unconditional (Hardware) | 4 to 5 RAM | Additional Core 5; the RAM Expansion clash above | | +1 Core, permanent, unconditional (Hardware) | 4 to 5 RAM | Additional Core 5; the RAM Expansion clash above |
| +1 Core, conditional (attacking only, defending only) | 4 RAM | Packet Accelerator | | +1 Core, conditional (attacking only, defending only) | 4 RAM | Packet Accelerator |
| +2 Health, permanent (Hardware) | 5 RAM (neutral in the sim; 4 would be fair) | RAM Expansion since v0.9 |
| Heal 3 damage (Ability) | 5 RAM | Restore Point |
| +2 Cores with a drawback | 6 RAM | Overclocked CPU | | +2 Cores with a drawback | 6 RAM | Overclocked CPU |
| −1 Core to an enemy for one combat (Ability) | 3 RAM | Low Resolution | | −1 Core to an enemy for one combat (Ability) | 3 RAM | Low Resolution |
| Reroll own dice (Ability) | 4 RAM | Bit Flip | | Reroll own dice (Ability) | 4 RAM | Bit Flip |
@ -235,8 +239,12 @@ Sketches:
- Execution (affinity), _Execute: Quarantine_: target Avatar with Infection can't advance or attack - Execution (affinity), _Execute: Quarantine_: target Avatar with Infection can't advance or attack
until its controller's next command; if a Virus Avatar you control is at the target Server, it until its controller's next command; if a Virus Avatar you control is at the target Server, it
also loses 1 Core this combat. also loses 1 Core this combat.
- Hardware (affinity), _Payload Module_: when the wearer wins a combat, place an Infection counter - Hardware (affinity), _Payload Module_: when the wearer wins a roll, place an Infection counter on
on every enemy Avatar adjacent to it. every enemy Avatar adjacent to it. (Better under v0.9: winning a roll without a kill is the common
case.)
- Program (V), _Rootkit_: at the start of your first command each round, each enemy Avatar with an
Infection counter that is adjacent to this Server takes 1 damage. Damage over time gives Infection
a payoff that isn't another −1 Core.
**Bug: dice, not Cores.** **Bug: dice, not Cores.**
Design goals: give Bug counters a payoff that is _not_ Core loss, so they feel different from Design goals: give Bug counters a payoff that is _not_ Core loss, so they feel different from
@ -246,16 +254,22 @@ cards then place counters and manipulate dice, and ECC Memory finally has a job.
Sketches: Sketches:
- Avatar, 3/3, _Fuzzer_: ability places a Bug counter on each enemy Avatar in combat with it. - Avatar, 3/3, _Fuzzer_: ability places a Bug counter on each enemy Avatar in combat with it.
- Avatar, 4/2, _Off By One_: ability changes one of your dice by ±1 after the roll. - Avatar, 4/2, _Off By One_: ability sets one of your dice to 6, or one enemy die to 1, after the
roll. (±1 on one die is one point of damage under v0.9, not a flipped fight.)
- Avatar, 2/4, _Heisenbug_: ability swaps which side is "attacker" for Program effects this combat. - Avatar, 2/4, _Heisenbug_: ability swaps which side is "attacker" for Program effects this combat.
- Program (B), _Segmentation Fault_: when an enemy Avatar with 2+ Bug counters attacks this Server, - Program (B), _Segmentation Fault_: when an enemy Avatar with 2+ Bug counters attacks this Server,
it rolls one die fewer. it rolls one die fewer.
- Program (B), _Unhandled Exception_: the first time each round a tie is rerolled at this Server, - Program (B), _Unhandled Exception_: when a combat at this Server ends in a stalemate, place a Bug
place a Bug counter on the attacker and gain 1 RAM. counter on the attacker and gain 2 RAM; when an attacker here loses a roll by exactly 1, it takes
1 more damage. (Ties no longer reroll under v0.9; stalemates are about 0.3 a game per player, so
the card needs the second trigger.)
- Execution (affinity), _Execute: Fuzz_: after the roll, reroll all dice showing 1 on one side; if - Execution (affinity), _Execute: Fuzz_: after the roll, reroll all dice showing 1 on one side; if
a Bug Avatar you control is in the combat, choose the side. a Bug Avatar you control is in the combat, choose the side.
- Hardware (affinity), _Watchdog Timer_: the wearer's first combat each round, a natural 1 counts - Hardware (affinity), _Watchdog Timer_: the wearer's first combat each round, a natural 1 counts
as 6 (once). as 6 (once).
- Execution (affinity), _Execute: Segfault_: deal 2 damage to one Avatar at the target Server, 3 if
a Bug Avatar you control is in combat there; 4 RAM. A cheap finisher for wounded Avatars, and the
first Execution under 5 RAM that changes a fight directly.
**Glitch: reach and Firewalls.** **Glitch: reach and Firewalls.**
Design goals: own the adjacency rules. Move through or ignore Firewalls, act at range, see hidden Design goals: own the adjacency rules. Move through or ignore Firewalls, act at range, see hidden
@ -276,6 +290,8 @@ Sketches:
choice; draw a card if a Glitch Avatar you control is at the target Server. choice; draw a card if a Glitch Avatar you control is at the target Server.
- Hardware (affinity), _Spoofed MAC_: the wearer is treated as being on an adjacent location you - Hardware (affinity), _Spoofed MAC_: the wearer is treated as being on an adjacent location you
control when enemy Programs check "attacking this Server". control when enemy Programs check "attacking this Server".
- Program (G), _Session Hijack_: whenever an enemy Avatar is recalled from a location adjacent to
this Server, draw a card. Recall is free today; Glitch should be the type that taxes it.
**Patch: protection, uptime and economy.** **Patch: protection, uptime and economy.**
Design goals: protect Hardware, keep Avatars from losing Hardware on defeat, refunds, and make Design goals: protect Hardware, keep Avatars from losing Hardware on defeat, refunds, and make
@ -285,8 +301,8 @@ Sketches:
- Avatar, 3/3, _Service Pack_: ability re-enables all your disabled Hardware and Programs at this - Avatar, 3/3, _Service Pack_: ability re-enables all your disabled Hardware and Programs at this
Server. Server.
- Avatar, 4/2, _Long Term Support_: the first time it is defeated each game, keep its Hardware - Avatar, 4/2, _Long Term Support_: the first time each round it would take damage, it takes 2
(like Redundant Power Supply, built in). less. (Keeping Hardware on defeat is what recall already does for free.)
- Avatar, 2/4, _Checksum_: ability names a card type; the next enemy Execution of that... (keep - Avatar, 2/4, _Checksum_: ability names a card type; the next enemy Execution of that... (keep
simple: the next enemy Execution targeting this Server costs 3 more). simple: the next enemy Execution targeting this Server costs 3 more).
- Program (P), _Uptime Monitor_: at the start of your first command each round, gain 1 RAM for - Program (P), _Uptime Monitor_: at the start of your first command each round, gain 1 RAM for
@ -297,6 +313,10 @@ Sketches:
the target Server is protected (Root Access's missing partner). the target Server is protected (Root Access's missing partner).
- Hardware (affinity), _Surge Protector_: the first Core penalty on the wearer each round is - Hardware (affinity), _Surge Protector_: the first Core penalty on the wearer each round is
ignored; if a Patch Avatar wears it, the second is too. ignored; if a Patch Avatar wears it, the second is too.
- Program (P), _Hot Patch_: at the start of your first command each round, remove 1 damage from
each Avatar you control at this Server (2 if it's a Patch Avatar). The healing lane Health opened.
- Execution (affinity), _Execute: Snapshot Restore_: remove 4 damage from one Avatar you control at
the target Server; 4 RAM.
**Servers (untyped but themed), +7.** **Servers (untyped but themed), +7.**
Four type-themed and three neutral. Themed ones reward a type without requiring it: Four type-themed and three neutral. Themed ones reward a type without requiring it:
@ -318,6 +338,11 @@ Four type-themed and three neutral. Themed ones reward a type without requiring
- New Hardware favors triggers and utility over flat Cores. The pool already has four Core sticks. - New Hardware favors triggers and utility over flat Cores. The pool already has four Core sticks.
- No new card gives more than +2 Cores in a single combat without a real drawback. - No new card gives more than +2 Cores in a single combat without a real drawback.
- Each type gets at least one card that places its counter (Infection or Bug) on **offense**. - Each type gets at least one card that places its counter (Infection or Bug) on **offense**.
- Triggers key off "takes damage" or "loses a roll", not "is destroyed". Under v0.9 an Avatar is
destroyed about 7 times a player a game and most of those are one-shots, so a destroy trigger
fires almost never (section 8).
- Health-based effects: 3 damage healed or dealt is about one lost roll's worth; +2 Health is worth
about 4 RAM. No card heals more than 4 in one go.
- Every new Program should be answerable by an existing Execution (Kill Process, Override, - Every new Program should be answerable by an existing Execution (Kill Process, Override,
Rollback), and every new Hardware by Sabotage or Driver Fault. Rollback), and every new Hardware by Sabotage or Driver Fault.
- Text uses the v0.8 vocabulary: _command_, _round_, _breach_, _this Server_, _at this Server_. - Text uses the v0.8 vocabulary: _command_, _round_, _breach_, _this Server_, _at this Server_.
@ -329,4 +354,123 @@ Four type-themed and three neutral. Themed ones reward a type without requiring
1. Type chip on Hardware and Execution templates, or text affinity only? Text affinity only 1. Type chip on Hardware and Execution templates, or text affinity only? Text affinity only
2. Bug counter rule: "6s count as 1" per counter, or "lose highest die at 3+"? lose highest die 2. Bug counter rule: "6s count as 1" per counter, or "lose highest die at 3+"? lose highest die
3. Avatar count: +8 or +12? Art is the constraint. +12 3. Avatar count: +8 or +12? Art is the constraint. +12
4. Fix RAM Expansion vs Additional Core by price, or by changing one card's effect? price 4. Fix RAM Expansion vs Additional Core by price, or by changing one card's effect? price → done
by effect instead (RAM Expansion = +2 Health), since that also gave Health its first Hardware.
## 8. Re-evaluation Under Rules v0.9 (Health)
_2026-09-29. Two 3,000-game greedy-vs-greedy batches (seed sets 1 and 30001) under the v0.9
defaults, which agree within a point on every card, plus a 3,000-game batch with `health.on=false`
on the same seeds as the baseline._
**The board shape:** median 14 rounds, 25 combats a game, 31% of enemy captures won in combat (37%
with Health off). Losing attackers survive, so Corrupt Driver, Pixelated Picture, Code Zero and
Broken Bits are used far more often (Bit Flip 3.2 uses a game, was 1.8). Bots recall under once a
game. Section 5's conclusions still hold: fights are common, Programs are fragile, Executions and
their answers are barely played, Abilities are the main interaction.
### What moved
| Card | v0.9 | Health off | Read |
| --- | --- | --- | --- |
| Carbon NanoBots | 55.4% | 49.3% | Replicate bought a second 12-Health body for 5 RAM, and damage spread over two bodies rarely destroyed either. |
| Broken Bits | 53.1% | 54.1% | Bit Flip softened as intended: rerolls shift damage instead of flipping the fight. |
| Overclocked CPU | 52.5% | 53.4% | +2 Cores is also +2 dice of damage. The Program-disable drawback almost never bites. |
| RAM Expansion | 52.4% | 52.6% | Still dominated Additional Core (50.0%). |
| Backup Machine | 44.0% | 46.6% | Hardware is lost less often (3.4 vs 4.1 a game), so Restore Point had fewer targets. |
| Beta Version 1.0 | 47.6% | 49.4% | Health 9 makes it a glass cannon and the bot still never uses Push Update. Needs a human read. |
**Destroy triggers went nearly dead.** Avatars are destroyed 6.7 times per player per game, half the
old rate, and most are one-shots. Fires per game in play, v0.9 vs Health off: Resource Leech
0.03 / 0.05, Overflow Error 0.03 / 0.05, Persistent Infection 0.03 / 0.04, RAID Array 0.27 / 0.76,
Redundant Power Supply 0.67 / 0.72. Redundant Power Supply and RAID Array are also undercut by
recall, which keeps Hardware for free.
### Fixes tested (3,000 games each, seed set 1, against 55.4 / 44.0 / 53.1 / 50.0 / 52.4 above)
| Change | Result |
| --- | --- |
| NanoBots Health 12 → 10 | 53.9% |
| NanoBots Health 10 and Replicate 6 RAM | 51.8% ← adopted |
| Restore Point 5 → 3 RAM | 45.3% |
| Backup Machine Health 14 | 46.4% |
| Bit Flip 4 → 5 RAM | 52.4% (left at 4) |
| Additional Core 5 → 4 RAM | 50.2% (left at 5) |
| RAM Expansion as +2 Health instead of +2 Cores | 49.2% ← adopted |
Backup Machine could not be fixed by price or Health; its ability was the wrong shape for the
ruleset, so Restore Point gained the heal option instead.
### Changes made
1. **Carbon NanoBots:** Health 10, Replicate 6 RAM.
2. **Backup Machine:** "Remove 3 damage from this Avatar, or return one Hardware or Program from
your discard pile to your hand..."
3. **RAM Expansion:** "Avatar gains +2 Health."
4. **Resource Leech:** "Whenever an enemy Avatar takes damage while attacking this Server, gain 3
RAM." **Overflow Error:** "When an enemy Avatar takes damage while attacking this Server, disable
one Program its controller has in play until their next command. If the Avatar was destroyed, you
may destroy that Program instead." **Persistent Infection:** "Whenever an enemy Avatar takes
damage at this Server, place an Infection counter on it permanently."
5. The sketches for Unhandled Exception, Off By One and Long Term Support were rewritten (section
6), and one healing and one direct-damage card were added per lane: Hot Patch and Snapshot
Restore (Patch), Segfault (Bug), Rootkit (Virus), Session Hijack (Glitch).
The sim gained an `onDamage` hook (fires on every lost roll; with Health off it fires on each
defeat with the full Health as the amount), and the greedy bot learned to install Health Hardware,
to heal with Restore Point at 3+ damage, and to take a long shot (25%+ odds) when every location is
defended and it has nothing else to do, which had started to stall games once RAM Expansion stopped
being a Core stick.
### After the changes
_Two 3,000-game batches (seed sets 1 and 30001) with everything above in place. Draws fell from 1.3%
to 0.1%, first player 51.3%, 27.5 combats a game, 30% of enemy captures won in combat._
| Card | Before | After | Note |
| --- | --- | --- | --- |
| Carbon NanoBots | 55.4% | 54.5% | Health 10 and Replicate 6 barely moved it. The strength is the copy itself: a second body with its own Health. Tested Health 8: 52.9%; Replicate 7: 53.4%. A real fix is a rules reading: the copy shares the original's damage, or has half its Health. |
| Backup Machine | 44.0% | 44.8% | The heal is legal and the bot uses it at 3+ damage, but Restore Point is still used 4.6 times a game for little. Earlier tests: Restore Point 3 RAM +1.3, Health 14 +2.4. Needs a human playtest before another number changes. |
| RAM Expansion | 52.4% | 49.5% | Neutral as +2 Health, and Additional Core (50.7%) is a real card again. |
| Resource Leech | 48.5% | 49.5% | Fires 0.17 a game in play, five times the old rate. |
| Overflow Error | 48.8% | 49.4% | Fires 0.16 a game in play. |
| Persistent Infection | 49.7% | 50.0% | Fires 0.12 a game in play; the bot installs it in only 6% of games. |
| Broken Bits | 53.1% | 55.0% | Up 2 points, most likely from the bot's new long shots: reroll control is worth more when you attack at worse odds. Now the top card. Bit Flip at 5 RAM was worth −0.7 before; worth retesting. |
The cards that were the point of this pass, the destroy triggers and the RAM Expansion clash, are
fixed. NanoBots and Backup Machine are structural and need a reading or a redesign rather than a
number.
## 9. Set 2 As Added to cards.csv
_2026-09-29. 52 cards, tagged `Set` = 2 in `decks/files-deck-1/cards.csv` (the base game is
`Set` = 1). Card text lives in the CSV; this is the index. None has a simulator script yet, so
`loadCards()` skips set 2 unless asked, and the card report can't judge them until `sim/src/cards/`
gains their scripts and `test/` their tests. Avatar art doesn't exist: the Image column holds slugs._
Rule added for the batch (rules.md → Terms): an Avatar with 3+ Bug counters removes its highest die
after every roll.
| Kind | Virus | Bug | Glitch | Patch | Neutral |
| --- | --- | --- | --- | --- | --- |
| Avatars (Cores/Slots, Ability RAM) | Ransomware 4/2 (4), Botnet 2/4 (3), Trojan Horse 3/3 (4) | Fuzzer 3/3 (3), Off By One 4/2 (4), Heisenbug 2/4 (3) | Screen Tear 3/3 (4), Phantom Cursor 2/4 (3), Dead Pixel 4/2 (3) | Service Pack 3/3 (4), Long Term Support 4/2 (3), Checksum 2/4 (4) | |
| Programs (RAM) | Zero-Day 5, Keylogger 5, Rootkit 6, Drive-By Download 4 | Segmentation Fault 5, Unhandled Exception 4, Heap Corruption 5, Bit Rot 5 | Tunnel 5, Mirror Site 6, Session Hijack 4, Packet Sniffer 4 | Uptime Monitor 5, Warm Standby 5, Hot Patch 5, Failover 4, Sandbox Mode 5 | |
| Hardware (RAM, text affinity) | Payload Module 5, Exploit Kit 5 | Watchdog Timer 5, Bug Injector 4 | Spoofed MAC 5, Proxy Relay 4 | Surge Protector 5, Heat Sink 6 | |
| Executions (RAM, text affinity) | Quarantine 4, Data Siphon 4 | Fuzz 4, Segfault 4 | Port Scan 3, Lag Spike 4 | Snapshot 4, Snapshot Restore 4 | |
| Servers | Quarantine Host | Test Bench | Proxy Node | Stable Release | Cache Server, Honeypot, Load Balancer |
Totals with set 1: Avatars 20 (5 per type), Programs 45 (V 11, B 12, G 11, P 11), Hardware 24,
Executions 26, Servers 20. Every Avatar keeps Cores + Slots = 6 and the v0.9 Health line (4-Core 9,
3-Core 10, 2-Core 12). Every Program costs 4 to 6 and either triggers when attacked, when breached,
or at the start of your round; every Execution costs 3 to 4. Each type has an offensive counter
placer (Zero-Day, Heap Corruption, Bug Injector, Payload Module) and a Health-lane card (Rootkit
and Trojan Horse deal damage; Hot Patch, Snapshot Restore, Service Pack heal; Heat Sink adds Health).
Differences from the section 6 sketches: Heisenbug prevents damage instead of swapping combat
roles; Dead Pixel's blackout is an Ability with a duration rather than a passive; Checksum moves
Hardware between your Avatars instead of taxing Executions; Payload Module fires on a won roll.
Botnet's RAM trigger is "takes damage", not "is defeated". Names still open to change.
Next steps: scripts and one test per card in `sim/`, then a `--set all` card report; art for the
twelve Avatars; a Type chip is still not needed on Hardware and Executions (text affinity only).

View file

@ -3,7 +3,9 @@
*Draft v0.9 — 2026-09-29.* The basic game rules are complete. v0.9 gives Avatars *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 [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 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 even under Health, the first player now leads every round and draws in round 1. Six cards changed
with it (Carbon NanoBots, Backup Machine, RAM Expansion, Resource Leech, Overflow Error, Persistent
Infection; see [Readings](#readings) and the [Watch List](#simulation-watch-list)). v0.8 replaced
whole turns with [rounds of alternating commands](#rounds-and-commands). Card text and stats come from 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 `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 text is read; readings marked ⚠ are the simulator's guesses and are listed in
@ -199,9 +201,10 @@ dial on the card.
5. Nobody else moves. A losing attacker stays where it attacked from, carrying its damage. A winning 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. 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 An Avatar heals by leaving the board: by being destroyed, or by a **recall** in the Deploy step
step (which keeps its Hardware). No card heals an Avatar in place yet; that's design space for Patch (which keeps its Hardware). Backup Machine's Restore Point is the one card that heals in place (3
cards, and for Hardware that adds Health. damage), and RAM Expansion is the one Hardware that adds Health (+2). Both are Patch-flavoured
design space for more cards.
## RAM ## RAM
@ -290,8 +293,10 @@ Avatars (such as Trace Route and Disconnect).
Infection places. Code Zero (1+ counters: −1 Core) and Recursive Infection (3+: −2 Cores) apply everywhere 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. 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 leaves - **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. the board, and Error Correction can remove one. **An Avatar with 3 or more Bug counters removes
ECC Memory stops opponents from placing them. Purge removes only Virus/Infection counters. its highest die after every roll** (one die, however many counters). ECC Memory stops opponents
from placing them. Purge removes only Virus/Infection counters. The Set 2 cards in `cards.csv`
place them (Fuzzer, Heap Corruption, Bit Rot, Bug Injector, Test Bench); no Set 1 card does.
- **Temporary bonuses and penalties** are Core changes from Abilities, Executions and Program - **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 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. Resolution, Trace Route. Force Reboot removes them; Rollback Routine undoes the most recent penalty.
@ -335,13 +340,14 @@ Cards not listed here work exactly as printed.
| Memory Parasite | "The owner" is the attacking Avatar's owner, who picks which of its Hardware is off for that combat. | | 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. | | 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). | | 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. ⚠ | | Resource Leech | Pays on every roll the attacker loses here, destroyed or not. |
| Persistent Infection | Fires on every roll an attacker loses here. Enemy Avatars are only ever at your location while attacking it. |
| 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. ⚠ | | 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. | | 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. | | 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. | | 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. ⚠ | | Stock Rice | "Hardware bonuses" are the Cores Hardware adds. ⚠ |
| Overflow Error | "Disable" lasts until re-enabled. | | Overflow Error | Fires on every roll the attacker loses here: disable a Program until its controller's next command, or destroy it if that roll destroyed the attacker. |
| Undefined Behavior | The copy is yours, works on this location, and lasts until your next turn. ⚠ | | 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. | | 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. ⚠ | | Visual Artifact | Once per installation, since "each turn" was removed from the card. ⚠ |
@ -354,7 +360,7 @@ Cards not listed here work exactly as printed.
| Version Control | On capture, one Program goes back to your hand; on destruction, the destroyed Program does. | | 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. | | Compatibility Layer | +1 Program slot here; −2 RAM for Patch Programs installed here after it. |
| **Hardware** | | | **Hardware** | |
| RAM Expansion | +2 Cores. | | RAM Expansion | +2 Health for the wearer. It adds no 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. ⚠ | | 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. | | 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 destroyed, 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. ⚠ |
@ -382,6 +388,7 @@ Cards not listed here work exactly as printed.
| Execute: Purge | Removes Infection (permanent too), opponents' penalties, Packet Flood, Disabled, and disabled Hardware. | | Execute: Purge | Removes Infection (permanent too), opponents' penalties, Packet Flood, Disabled, and disabled Hardware. |
| **Avatar Abilities** | | | **Avatar Abilities** | |
| Carbon NanoBots (Replicate) | See Copies. Two NanoBots in a deck can have two copies. ⚠ | | Carbon NanoBots (Replicate) | See Copies. Two NanoBots in a deck can have two copies. ⚠ |
| Backup Machine (Restore Point) | Either heal 3 damage on it, or recover a card; not both. |
| Pixelated Picture (Low Resolution) | Only while it defends: −1 Core for the attacker, that combat. ⚠ | | 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. | | 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. | | Data Leaker (Exfiltrate) | "Breached a Server this turn" = captured an enemy location this turn. |
@ -393,17 +400,19 @@ Cards not listed here work exactly as printed.
For the basic game (v0.9 Health): 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 1. **Health values** are a first guess: 4-Core Avatars 9, 3-Core 10, and Carbon NanoBots 10 (it
are glass cannons and the 2-Core body can hold a location while its Hardware comes online. was 12, but with a copy that shares its Health it won 55% of sim games; at 10 Health and a 6 RAM
Replicate it's 52%).
2. **Recall** clears counters and effects, like a defeat does. That makes it a slow Purge. Intended? ⚠ 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. ⚠ 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 4. **RAM Expansion** now gives +2 Health (it said "+2 Core capacity" and was read as +2 Cores, which
become +2 Health instead, which would also fix it dominating Additional Core. made Additional Core pointless). In the sim it's a neutral card at 5 RAM.
For the cards: For the cards:
1. **Bug counters** need cards that place them, and cards that punish having them (like Code Zero 1. **Bug counters** are placed by Set 2 cards and punished by the 3+ rule above and by Segmentation
and Recursive Infection do for Infection). Fault. Set 2 (52 cards, `Set` = 2 in `cards.csv`, see `expansion-plan.md` section 9) has no
simulator scripts yet, so the sim loads set 1 unless asked (`--set 2`, `--set all`).
2. Card text to update for rulings already made: Network Interface Upgrade (+1 port), and the 2. 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 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). there no ports" (there are), Memory Parasite "owners choosing" (owner's).
@ -438,6 +447,13 @@ Things the first sim runs should measure:
attack. Bots recall under once a game. Every Avatar at Health 8: median 13 rounds, 40% of enemy 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 captures by combat; at 12: median 14, 30%. Attacking at 50%+ odds instead of 60%+ makes no
difference (48% vs 51%). difference (48% vs 51%).
- **Cards under Health (2026-09-29).** Destructions halved, so cards keyed to "destroyed" almost
never fired (Resource Leech, Overflow Error, Persistent Infection: 0.03 times a game); they now
fire on every lost roll. Carbon NanoBots rose to 55% (its copy is a second body with its Health)
and Backup Machine fell to 44%, so NanoBots is 10 Health with a 6 RAM Replicate and Restore Point
can heal 3 instead. RAM Expansion became +2 Health. Taking a Core stick out of the pool made the
bot stall more (every location defended, no attack at 60%+ odds), so under Health it now takes
the best long shot at 25%+ odds when it has nothing else to do.
## Appendix: Combat Odds ## Appendix: Combat Odds

View file

@ -31,8 +31,9 @@ of how much a card helps.
damage (or one-roll combats with tie rerolls, with `--rule health.on=false`; `health.override=8` damage (or one-roll combats with tie rerolls, with `--rule health.on=false`; `health.override=8`
gives every Avatar the same Health), captures, levels and RAM, Avatar unlocks, Firewalls, gives every Avatar the same Health), captures, levels and RAM, Avatar unlocks, Firewalls,
Salvage, response windows and chains, and the win condition. Salvage, response windows and chains, and the win condition.
- **Every card:** all 83 cards in `../decks/files-deck-1/cards.csv` have a script, including Avatar - **Every card:** all 83 set 1 cards in `../decks/files-deck-1/cards.csv` have a script, including
Abilities. Unclear card text follows the readings in `rules.md` → Card Rules; the ones marked ⚠ Avatar Abilities. The 52 set 2 cards (`Set` = 2) have none yet, so they're skipped unless you pass
`--set 2` or `--set all`; the bots never play an unscripted card. Unclear card text follows the readings in `rules.md` → Card Rules; the ones marked ⚠
are guesses waiting for a decision. are guesses waiting for a decision.
- **Card edits:** stats (RAM, Cores, Health, slots) come straight from the CSV. Each script records the text - **Card edits:** stats (RAM, Cores, Health, slots) come straight from the CSV. Each script records the text
it was written for, so if you reword a card the sim warns you, and `npm test` fails until the it was written for, so if you reword a card the sim warns you, and `npm test` fails until the

View file

@ -233,7 +233,12 @@ export function fallChance(v: GameState, ref: AvatarRef, origin: LocId, target:
/** Rough Cores a Hardware card adds in combat. */ /** Rough Cores a Hardware card adds in combat. */
export function hardwareCores(v: GameState, hw: number): number { export function hardwareCores(v: GameState, hw: number): number {
const name = v.cards[hw].name; const name = v.cards[hw].name;
return { 'Additional Core': 1, 'RAM Expansion': 2, 'Overclocked CPU': 2, 'Packet Accelerator': 1 }[name] ?? 0; return { 'Additional Core': 1, 'Overclocked CPU': 2, 'Packet Accelerator': 1 }[name] ?? 0;
}
/** Health a Hardware card adds to its wearer (RAM Expansion), when the health rule is on. */
export function hardwareHealth(v: GameState, hw: number): number {
return v.rules.health.on ? scriptOf(v.cards[hw].name)?.health ?? 0 : 0;
} }
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------

View file

@ -41,6 +41,7 @@ import {
combatValue, combatValue,
fallChance, fallChance,
hardwareCores, hardwareCores,
hardwareHealth,
locationValue, locationValue,
printedRam, printedRam,
unlocksAt, unlocksAt,
@ -116,7 +117,7 @@ function keepScore(v: GameState, id: number): number {
const def = defOf(v, id); const def = defOf(v, id);
if (def.kind === 'avatar') return recruitSlot(v, v.cards[id].owner, id) === null ? 1 : 7; if (def.kind === 'avatar') return recruitSlot(v, v.cards[id].owner, id) === null ? 1 : 7;
if (def.kind === 'hardware') { if (def.kind === 'hardware') {
if (hardwareCores(v, id) > 0) return 6; if (hardwareCores(v, id) > 0 || hardwareHealth(v, id) > 0) return 6;
return (UTILITY_HARDWARE[def.name] ?? 0) * 2; return (UTILITY_HARDWARE[def.name] ?? 0) * 2;
} }
if (def.kind === 'program') return PROGRAM_WEIGHT[def.name] ?? 1; if (def.kind === 'program') return PROGRAM_WEIGHT[def.name] ?? 1;
@ -254,6 +255,7 @@ function planTurn(v: GameState, me: PlayerId, params: GreedyParams): TurnPlan {
let budget = spendable(v, me); let budget = spendable(v, me);
const options: Option[] = []; const options: Option[] = [];
const longShots: Option[] = [];
for (const to of gridFrom(me)) { for (const to of gridFrom(me)) {
if (controls(v, me, to)) continue; if (controls(v, me, to)) continue;
const defended = defendersAt(v, to).length > 0; const defended = defendersAt(v, to).length > 0;
@ -277,7 +279,14 @@ function planTurn(v: GameState, me: PlayerId, params: GreedyParams): TurnPlan {
const holder = occupant.get(from); const holder = occupant.get(from);
if (holder !== undefined && holder !== slot) continue; if (holder !== undefined && holder !== slot) continue;
const chance = attackOdds(v, ref, from, to); const chance = attackOdds(v, ref, from, to);
if (chance < params.minWinChance) continue; if (chance < params.minWinChance) {
// Health rule: a lost roll only costs damage, so a healthy Avatar keeps a long shot in
// reserve for when there's nothing better to do (see below).
if (v.rules.health.on && chance >= 0.25 && healthLeft(v, ref) * 2 >= healthOf(v, ref)) {
longShots.push({ kind: 'attack', slot, to, origin: from, clear, score: chance });
}
continue;
}
const score = attackValue(v, ref, from, to, value) - clearCost * RAM_POINTS; const score = attackValue(v, ref, from, to, value) - clearCost * RAM_POINTS;
options.push({ kind: 'attack', slot, to, origin: from, clear, score }); options.push({ kind: 'attack', slot, to, origin: from, clear, score });
} }
@ -310,6 +319,21 @@ function planTurn(v: GameState, me: PlayerId, params: GreedyParams): TurnPlan {
if (o.origin) origins.set(o.origin, o.slot); if (o.origin) origins.set(o.origin, o.slot);
chosen.push(o); chosen.push(o);
} }
if (chosen.length === 0) {
// Nothing to advance into and no attack at good odds: take the best long shot rather than let
// the game stall with every location defended.
const shot = longShots.sort((x, y) => y.score - x.score)
.find((o) => (o.clear ? firewallCost(v, v.firewalls[o.clear]) : 0) <= budget);
if (shot) {
const cost = shot.clear ? firewallCost(v, v.firewalls[shot.clear]) : 0;
budget -= cost;
if (shot.clear) clears.add(shot.clear);
uses.set(shot.slot, 1);
usedTargets.add(shot.to);
origins.set(shot.origin!, shot.slot);
chosen.push(shot);
}
}
const deploy: Action[] = [...clears].map((line): Action => ({ type: 'clearFirewall', line })); const deploy: Action[] = [...clears].map((line): Action => ({ type: 'clearFirewall', line }));
const pos = new Map<number, LocId | null>(ready.map((x) => [x.slot, x.at])); const pos = new Map<number, LocId | null>(ready.map((x) => [x.slot, x.at]));
@ -417,7 +441,8 @@ function copyAction(v: GameState, me: PlayerId): Action | null {
if (!spot) return null; if (!spot) return null;
const backup = findUse(v, me, 'Backup Server', (a) => a.args.to === spot); const backup = findUse(v, me, 'Backup Server', (a) => a.args.to === spot);
if (backup) return backup; if (backup) return backup;
if (spendable(v, me) >= 5 + 4) return findUse(v, me, 'Carbon NanoBots', (a) => a.args.to === spot); const replicate = findUse(v, me, 'Carbon NanoBots', (a) => a.args.to === spot);
if (replicate && spendable(v, me) >= actionCost(v, replicate) + 4) return replicate;
return null; return null;
} }
@ -437,9 +462,10 @@ function hardwarePlan(v: GameState, me: PlayerId, attackers: Set<number>, budget
for (const card of hand) { for (const card of hand) {
const def = defOf(v, card); const def = defOf(v, card);
if (def.kind !== 'hardware') continue; if (def.kind !== 'hardware') continue;
const cores = hardwareCores(v, card); const cores = hardwareCores(v, card) + hardwareHealth(v, card);
let target: AvatarRef | undefined; let target: AvatarRef | undefined;
if (cores > 0) { if (cores > 0) {
// Core Hardware, and Health Hardware (RAM Expansion), go on Avatars that fight.
const attackOnly = def.name === 'Packet Accelerator'; const attackOnly = def.name === 'Packet Accelerator';
target = wearers.find((r) => ports.get(r.slot)! > 0 && fights(r) && (!attackOnly || attackers.has(r.slot))); target = wearers.find((r) => ports.get(r.slot)! > 0 && fights(r) && (!attackOnly || attackers.has(r.slot)));
} else if (def.name === 'Network Interface Upgrade') { } else if (def.name === 'Network Interface Upgrade') {
@ -629,7 +655,14 @@ function utilityPlays(v: GameState, me: PlayerId, budget: number): Action[] {
add(findPlay(v, me, 'Execute: Memory Dump', (a) => controls(v, me, a.target!)), 4); add(findPlay(v, me, 'Execute: Memory Dump', (a) => controls(v, me, a.target!)), 4);
add(findPlay(v, me, 'Execute: Ping Sweep', () => true), 4); add(findPlay(v, me, 'Execute: Ping Sweep', () => true), 4);
if (v.players[other(me)].hand.length > 0) add(findUse(v, me, 'Data Leaker'), 3); if (v.players[other(me)].hand.length > 0) add(findUse(v, me, 'Data Leaker'), 3);
// Restore Point: heal a wounded Backup Machine first, otherwise recover a good card.
add(findUse(v, me, 'Backup Machine', (a) => { add(findUse(v, me, 'Backup Machine', (a) => {
if (!a.args.heal) return false;
const ref = refsInPlay(v, me).find((r) => avatar(v, r).card === a.card && !isCopy(r));
return !!ref && avatar(v, ref).damage >= 3;
}), 5);
add(findUse(v, me, 'Backup Machine', (a) => {
if (a.args.heal) return false;
const id = a.args.card!; const id = a.args.card!;
return hardwareCores(v, id) > 0 || (PROGRAM_WEIGHT[cardName(v, id)] ?? 0) >= 2; return hardwareCores(v, id) > 0 || (PROGRAM_WEIGHT[cardName(v, id)] ?? 0) >= 2;
}), 5); }), 5);
@ -789,8 +822,9 @@ function stopDeclaration(v: GameState, me: PlayerId): Action | null {
if (flood && stake > 5 * RAM_POINTS + CARD_POINTS + 2) return flood; if (flood && stake > 5 * RAM_POINTS + CARD_POINTS + 2) return flood;
if (defended) return null; if (defended) return null;
// Put a copy in the way. // Put a copy in the way.
const replicate = findUse(v, me, 'Carbon NanoBots', (a) => a.args.to === d.to);
const copy = findUse(v, me, 'Backup Server', (a) => a.args.to === d.to) ?? const copy = findUse(v, me, 'Backup Server', (a) => a.args.to === d.to) ??
(reach(v, me) >= 5 ? findUse(v, me, 'Carbon NanoBots', (a) => a.args.to === d.to) : null); (replicate && reach(v, me) >= actionCost(v, replicate) ? replicate : null);
if (copy) return copy; if (copy) return copy;
// Or cash in the Programs there before they're lost. // Or cash in the Programs there before they're lost.
const progs = v.locations[d.to].programs; const progs = v.locations[d.to].programs;

View file

@ -19,6 +19,8 @@ export interface CardDef {
/** Card text; flavor text for Avatars. */ /** Card text; flavor text for Avatars. */
text: string; text: string;
ability?: { name: string; cost: number; text: string }; ability?: { name: string; cost: number; text: string };
/** Card set: 1 is the base game, 2 the expansion. Rows without a Set column are set 1. */
set: number;
} }
export interface CardPool { export interface CardPool {
@ -41,13 +43,18 @@ export const DEFAULT_CARDS_CSV = fileURLToPath(
const num = (s: string | undefined): number => (s ? Number(s) : 0); const num = (s: string | undefined): number => (s ? Number(s) : 0);
/** Loads the Cider deck CSV. Reference cards (Turn Sequence) are skipped. */ /**
export function loadCards(path = DEFAULT_CARDS_CSV): CardPool { * Loads the Cider deck CSV. Reference cards (Turn Sequence) are skipped. By default only set 1 (the
* base game) is loaded; `sets` picks others, or 'all'. Set 2 cards have no scripts yet.
*/
export function loadCards(path = DEFAULT_CARDS_CSV, sets: number[] | 'all' = [1]): CardPool {
const all: CardDef[] = []; const all: CardDef[] = [];
const byName = new Map<string, CardDef>(); const byName = new Map<string, CardDef>();
for (const row of parseCsvObjects(readFileSync(path, 'utf8'))) { for (const row of parseCsvObjects(readFileSync(path, 'utf8'))) {
const kind = KIND_BY_TEMPLATE[row['Front Template']]; const kind = KIND_BY_TEMPLATE[row['Front Template']];
if (!kind) continue; if (!kind) continue;
const set = row['Set'] ? Number(row['Set']) : 1;
if (sets !== 'all' && !sets.includes(set)) continue;
const card: CardDef = { const card: CardDef = {
name: row['Name'], name: row['Name'],
kind, kind,
@ -57,6 +64,7 @@ export function loadCards(path = DEFAULT_CARDS_CSV): CardPool {
slots: num(row['Expansion Slots']), slots: num(row['Expansion Slots']),
type: row['Type'], type: row['Type'],
text: row['Description'], text: row['Description'],
set,
}; };
if (row['Ability Name']) { if (row['Ability Name']) {
card.ability = { card.ability = {

View file

@ -154,15 +154,27 @@ export const AVATARS: Record<string, Script> = {
}, },
}, },
// Restore Point either heals 3 damage (health rule) or recovers a card from the discard pile.
'Backup Machine': { 'Backup Machine': {
text: 'Return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM.', text: 'Remove 3 damage from this Avatar, or return one Hardware or Program from your discard pile to your hand. If it is a Hardware and this Avatar has an open port, you may install it immediately for 2 less RAM.',
ability: { ability: {
uses: (s, src) => uses: (s, src) => [
cardOptions(s, s.players[src.controller].discard.filter((id) => ['hardware', 'program'].includes(defOf(s, id).kind))) ...(s.rules.health.on && avatar(s, src.ref!).damage > 0 ? [{ heal: true }] : []),
...cardOptions(s, s.players[src.controller].discard.filter((id) => ['hardware', 'program'].includes(defOf(s, id).kind)))
.map((o) => ({ card: o.value as number })), .map((o) => ({ card: o.value as number })),
],
resolve(s, item, src) { resolve(s, item, src) {
const card = item.args.card!;
const p = src.controller; const p = src.controller;
if (item.args.heal) {
const av = avatar(s, src.ref!);
if (av.at === null || av.damage === 0) return;
const healed = Math.min(3, av.damage);
av.damage -= healed;
fired(s, 'Backup Machine', p);
say(s, `Restore Point heals ${healed} damage on ${avatarName(s, src.ref!)}.`);
return;
}
const card = item.args.card!;
if (!removeFrom(s.players[p].discard, card)) return; if (!removeFrom(s.players[p].discard, card)) return;
toHand(s, card); toHand(s, card);
fired(s, 'Backup Machine', p); fired(s, 'Backup Machine', p);

View file

@ -90,10 +90,10 @@ export function attachHardware(s: GameState, card: number, ref: AvatarRef): void
} }
export const HARDWARE: Record<string, Script> = { export const HARDWARE: Record<string, Script> = {
// Reading: "+2 Core capacity" means +2 Cores. // Health rule: the wearer's Health goes up by 2 (query.ts healthOf). Without the rule it does nothing.
'RAM Expansion': { 'RAM Expansion': {
text: 'Avatar gains +2 Core capacity.', text: 'Avatar gains +2 Health.',
cores: () => 2, health: 2,
}, },
'Additional Core': { 'Additional Core': {
text: 'Avatar gains +1 Core.', text: 'Avatar gains +1 Core.',

View file

@ -52,7 +52,7 @@ import {
usedThisTurn, usedThisTurn,
} from '../state.ts'; } from '../state.ts';
import { randInt } from '../rng.ts'; import { randInt } from '../rng.ts';
import { FOREVER, type AvatarRef, type GameState, type PlayerId, type Source, type Task } from '../types.ts'; import { type AvatarRef, type GameState, type PlayerId, type Source, type Task } from '../types.ts';
import { cardOptions, infect, isPatch, isVirus, programsOn } from './util.ts'; import { cardOptions, infect, isPatch, isVirus, programsOn } from './util.ts';
const enemyOf = (src: Source, ref: AvatarRef) => ref.player !== src.controller; const enemyOf = (src: Source, ref: AvatarRef) => ref.player !== src.controller;
@ -203,13 +203,14 @@ export const PROGRAMS: Record<string, Script> = {
}, },
}, },
// Fires on every roll the attacker loses here (with the health rule off, that's every defeat).
'Resource Leech': { 'Resource Leech': {
text: 'Whenever an enemy Avatar is destroyed while attacking this Server, gain 5 RAM.', text: 'Whenever an enemy Avatar takes damage while attacking this Server, gain 3 RAM.',
onDefeat(s, src, ev: { ref: AvatarRef; loc: LocId; role: string }) { onDamage(s, src, ev) {
if (ev.loc !== src.at || ev.role !== 'attack' || !enemyOf(src, ev.ref)) return; if (ev.loc !== src.at || ev.role !== 'attack' || !enemyOf(src, ev.ref)) return;
gainRam(s, src.controller, 5); gainRam(s, src.controller, 3);
fired(s, 'Resource Leech', src.controller); fired(s, 'Resource Leech', src.controller);
say(s, `Resource Leech: ${playerName(src.controller)} gains 5 RAM.`); say(s, `Resource Leech: ${playerName(src.controller)} gains 3 RAM.`);
}, },
}, },
@ -246,10 +247,10 @@ export const PROGRAMS: Record<string, Script> = {
}, },
}, },
// Reading: enemy Avatars only (Virus Programs hit attackers). The counter survives defeat. // Enemy Avatars are only ever at this location while attacking it. The counter survives defeat.
'Persistent Infection': { 'Persistent Infection': {
text: 'If an Avatar is defeated at this Server, place an Infection Counter on it permanently.', text: 'Whenever an enemy Avatar takes damage at this Server, place an Infection counter on it permanently.',
onDefeat(s, src, ev: { ref: AvatarRef; loc: LocId }) { onDamage(s, src, ev) {
if (ev.loc !== src.at || !enemyOf(src, ev.ref) || isCopy(ev.ref)) return; if (ev.loc !== src.at || !enemyOf(src, ev.ref) || isCopy(ev.ref)) return;
infect(s, ev.ref, 1, 'Persistent Infection', src.controller, true); infect(s, ev.ref, 1, 'Persistent Infection', src.controller, true);
}, },
@ -330,10 +331,11 @@ export const PROGRAMS: Record<string, Script> = {
}, },
}, },
// Reading: an unspecified disable lasts until something re-enables it (Execute: Defragment). // Every lost roll disables a Program until its controller's next command; a destroyed attacker
// lets the owner destroy it instead.
'Overflow Error': { 'Overflow Error': {
text: "When an enemy Avatar is destroyed while attacking this Server, destroy or disable one Program that Avatar's controller has in play.", text: 'When an enemy Avatar takes damage while attacking this Server, disable one Program its controller has in play until their next command. If the Avatar was destroyed, you may destroy that Program instead.',
onDefeat(s, src, ev: { ref: AvatarRef; loc: LocId; role: string }) { onDamage(s, src, ev) {
if (ev.loc !== src.at || ev.role !== 'attack' || !enemyOf(src, ev.ref)) return; if (ev.loc !== src.at || ev.role !== 'attack' || !enemyOf(src, ev.ref)) return;
const theirs = LOCATIONS.flatMap((l) => (controls(s, ev.ref.player, l) ? programsOn(s, l) : [])) const theirs = LOCATIONS.flatMap((l) => (controls(s, ev.ref.player, l) ? programsOn(s, l) : []))
.filter((id) => canTargetProgram(s, id, src.controller)); .filter((id) => canTargetProgram(s, id, src.controller));
@ -342,9 +344,9 @@ export const PROGRAMS: Record<string, Script> = {
ask(s, { ask(s, {
player: src.controller, player: src.controller,
kind: 'Overflow Error:hit', kind: 'Overflow Error:hit',
prompt: 'Overflow Error: destroy or disable one of their Programs.', prompt: ev.destroyed ? 'Overflow Error: destroy or disable one of their Programs.' : 'Overflow Error: disable one of their Programs.',
options: theirs.flatMap((id) => [ options: theirs.flatMap((id) => [
{ label: `Destroy ${nameOf(s, id)} on ${programLocation(s, id)}`, value: { card: id, mode: 'destroy' } }, ...(ev.destroyed ? [{ label: `Destroy ${nameOf(s, id)} on ${programLocation(s, id)}`, value: { card: id, mode: 'destroy' } }] : []),
{ label: `Disable ${nameOf(s, id)} on ${programLocation(s, id)}`, value: { card: id, mode: 'disable' } }, { label: `Disable ${nameOf(s, id)} on ${programLocation(s, id)}`, value: { card: id, mode: 'disable' } },
]), ]),
resume: { name: 'Overflow Error', fn: 'hit', data: null }, resume: { name: 'Overflow Error', fn: 'hit', data: null },
@ -354,7 +356,10 @@ export const PROGRAMS: Record<string, Script> = {
hit(s, _data, v: { card: number; mode: string }) { hit(s, _data, v: { card: number; mode: string }) {
if (!programLocation(s, v.card)) return; if (!programLocation(s, v.card)) return;
if (v.mode === 'destroy') destroyProgram(s, v.card); if (v.mode === 'destroy') destroyProgram(s, v.card);
else s.cards[v.card].disabledUntil = FOREVER; else {
const until = startOf(nextTurnOf(s, ownerOf(s, v.card)));
s.cards[v.card].disabledUntil = Math.max(s.cards[v.card].disabledUntil, until);
}
}, },
}, },
}, },

View file

@ -47,6 +47,7 @@ const USAGE = `Files TCG simulator
--json FILE also write the summary and every game's result as JSON --json FILE also write the summary and every game's result as JSON
--card-report also print each card's win rate (decks holding it) and how often bots played it --card-report also print each card's win rate (decks holding it) and how often bots played it
--cards FILE card CSV (default decks/files-deck-1/cards.csv) --cards FILE card CSV (default decks/files-deck-1/cards.csv)
--set N card sets to load: 1 (default), 2, 1,2 or all. Set 2 has no scripts yet
Bots: Bots:
${Object.entries(BOTS).map(([name, b]) => ` ${name.padEnd(10)} ${b.about}`).join('\n')} ${Object.entries(BOTS).map(([name, b]) => ` ${name.padEnd(10)} ${b.about}`).join('\n')}
@ -65,6 +66,7 @@ const { values: opt } = parseArgs({
json: { type: 'string' }, json: { type: 'string' },
'card-report': { type: 'boolean', default: false }, 'card-report': { type: 'boolean', default: false },
cards: { type: 'string', default: DEFAULT_CARDS_CSV }, cards: { type: 'string', default: DEFAULT_CARDS_CSV },
set: { type: 'string', default: '1' },
help: { type: 'boolean', short: 'h', default: false }, help: { type: 'boolean', short: 'h', default: false },
}, },
}); });
@ -93,7 +95,7 @@ const games = count('games', opt.games)!;
const seed = count('seed', opt.seed)!; const seed = count('seed', opt.seed)!;
const maxTurns = count('max-turns', opt['max-turns']); const maxTurns = count('max-turns', opt['max-turns']);
const pool = loadCards(opt.cards); const pool = loadCards(opt.cards, opt.set === 'all' ? 'all' : opt.set.split(',').map(Number));
let rules = maxTurns === undefined ? DEFAULT_RULES : { ...DEFAULT_RULES, maxTurns }; let rules = maxTurns === undefined ? DEFAULT_RULES : { ...DEFAULT_RULES, maxTurns };
try { try {
for (const spec of opt.rule) rules = withRule(rules, spec); for (const spec of opt.rule) rules = withRule(rules, spec);

View file

@ -253,22 +253,30 @@ export function damageAvatar(s: GameState, ref: AvatarRef, n: number): boolean {
* most defenders, weakest first, and puts what's left on the weakest survivor. Returns the * most defenders, weakest first, and puts what's left on the weakest survivor. Returns the
* destroyed defenders. * destroyed defenders.
*/ */
function allocateDamage(s: GameState, defenders: AvatarRef[], n: number): AvatarRef[] { function allocateDamage(s: GameState, defenders: AvatarRef[], n: number): { ref: AvatarRef; amount: number; destroyed: boolean }[] {
const order = [...defenders].sort((a, b) => healthLeft(s, a) - healthLeft(s, b)); const order = [...defenders].sort((a, b) => healthLeft(s, a) - healthLeft(s, b));
const destroyed: AvatarRef[] = []; const hits: { ref: AvatarRef; amount: number; destroyed: boolean }[] = [];
for (const [i, d] of order.entries()) { for (const [i, d] of order.entries()) {
if (n <= 0) break; if (n <= 0) break;
const left = healthLeft(s, d); const left = healthLeft(s, d);
const hit = n >= left ? left : i === order.length - 1 ? n : 0; const hit = n >= left ? left : i === order.length - 1 ? n : 0;
if (hit === 0) { if (hit === 0) {
// Can't destroy this one: dump the rest on the weakest. // Can't destroy this one: dump the rest on the weakest.
const first = hits.find((h) => refKey(h.ref) === refKey(order[0]));
damageAvatar(s, order[0], n); damageAvatar(s, order[0], n);
if (first) first.amount += n;
else hits.push({ ref: order[0], amount: n, destroyed: false });
break; break;
} }
n -= hit; n -= hit;
if (damageAvatar(s, d, hit)) destroyed.push(d); hits.push({ ref: d, amount: hit, destroyed: damageAvatar(s, d, hit) });
} }
return destroyed; return hits;
}
/** Tells the cards that an Avatar lost a roll (Resource Leech, Overflow Error, Persistent Infection). */
function emitDamage(s: GameState, ref: AvatarRef, loc: LocId, role: 'attack' | 'defend', amount: number, destroyed: boolean): void {
emit(s, 'onDamage', { ref, loc, role, amount, destroyed });
} }
/** Health rule: the loser of the roll takes the difference as damage; destroyed Avatars are defeated. */ /** Health rule: the loser of the roll takes the difference as damage; destroyed Avatars are defeated. */
@ -287,14 +295,19 @@ function resolveDamage(s: GameState, c: Combat, t: { atk: number; def: number })
stat(s, 'damageDealt', winner, margin); stat(s, 'damageDealt', winner, margin);
if (attackerWins) { if (attackerWins) {
stat(s, 'attacksWon', c.attacker.player); stat(s, 'attacksWon', c.attacker.player);
const destroyed = allocateDamage(s, c.defenders, margin); const hits = allocateDamage(s, c.defenders, margin);
const destroyed = hits.filter((h) => h.destroyed).map((h) => h.ref);
const tasks: Task[] = destroyed.map((ref): Task => ({ t: 'defeat', ref, loc: c.loc, role: 'defend' })); const tasks: Task[] = destroyed.map((ref): Task => ({ t: 'defeat', ref, loc: c.loc, role: 'defend' }));
if (destroyed.length === c.defenders.length) { if (destroyed.length === c.defenders.length) {
tasks.push({ t: 'capture', ref: c.attacker, loc: c.loc, stage: 'hooks', how: 'capturesInCombat' }); tasks.push({ t: 'capture', ref: c.attacker, loc: c.loc, stage: 'hooks', how: 'capturesInCombat' });
} else say(s, `${c.loc} holds.`); } else say(s, `${c.loc} holds.`);
pushTasks(s, ...tasks); pushTasks(s, ...tasks);
} else if (damageAvatar(s, c.attacker, margin)) { // Pushed last, so the damage hooks run before the defeats.
pushTasks(s, { t: 'defeat', ref: c.attacker, loc: c.loc, role: 'attack' }); for (const h of hits) emitDamage(s, h.ref, c.loc, 'defend', h.amount, h.destroyed);
} else {
const dead = damageAvatar(s, c.attacker, margin);
if (dead) pushTasks(s, { t: 'defeat', ref: c.attacker, loc: c.loc, role: 'attack' });
emitDamage(s, c.attacker, c.loc, 'attack', margin, dead);
} }
} }
@ -419,8 +432,11 @@ export function combatStage(s: GameState, stage: 'start' | 'roll' | 'result' | '
...c.defenders.map((ref): Task => ({ t: 'defeat', ref, loc: c.loc, role: 'defend' })), ...c.defenders.map((ref): Task => ({ t: 'defeat', ref, loc: c.loc, role: 'defend' })),
{ t: 'capture', ref: c.attacker, loc: c.loc, stage: 'hooks', how: 'capturesInCombat' }, { t: 'capture', ref: c.attacker, loc: c.loc, stage: 'hooks', how: 'capturesInCombat' },
); );
// Without the health rule a lost roll destroys, so the damage hooks fire with the full Health.
for (const ref of c.defenders) emitDamage(s, ref, c.loc, 'defend', healthLeft(s, ref), true);
} else { } else {
pushTasks(s, { t: 'defeat', ref: c.attacker, loc: c.loc, role: 'attack' }); pushTasks(s, { t: 'defeat', ref: c.attacker, loc: c.loc, role: 'attack' });
emitDamage(s, c.attacker, c.loc, 'attack', healthLeft(s, c.attacker), true);
} }
} }

View file

@ -77,7 +77,7 @@ export interface Script {
noPort?: boolean; noPort?: boolean;
/** Hardware: Expansion Slots it adds to its wearer (Network Interface Upgrade). */ /** Hardware: Expansion Slots it adds to its wearer (Network Interface Upgrade). */
extraSlots?: number; extraSlots?: number;
/** Hardware: Health it adds to its wearer (health rule). No card does yet. */ /** Hardware: Health it adds to its wearer (health rule): RAM Expansion. */
health?: number; health?: number;
/** Program: extra attacks for its controller's Avatars attacking from this location (Infinite Loop). */ /** Program: extra attacks for its controller's Avatars attacking from this location (Infinite Loop). */
extraAttacks?: number; extraAttacks?: number;
@ -118,6 +118,11 @@ export interface Script {
onCombatStart?(s: GameState, src: Source): void; onCombatStart?(s: GameState, src: Source): void;
/** An Avatar was defeated at `loc`. It's already back in its slot. */ /** An Avatar was defeated at `loc`. It's already back in its slot. */
onDefeat?(s: GameState, src: Source, ev: { ref: AvatarRef; loc: LocId; role: 'attack' | 'defend' }): void; onDefeat?(s: GameState, src: Source, ev: { ref: AvatarRef; loc: LocId; role: 'attack' | 'defend' }): void;
/**
* An Avatar lost a roll at `loc`: under the health rule it took `amount` damage (and may be
* `destroyed`); with the rule off, every lost roll destroys it. Runs before the defeat.
*/
onDamage?(s: GameState, src: Source, ev: { ref: AvatarRef; loc: LocId; role: 'attack' | 'defend'; amount: number; destroyed: boolean }): void;
onCombatEnd?(s: GameState, src: Source): void; onCombatEnd?(s: GameState, src: Source): void;
/** /**
* Hardware: its wearer was just defeated. Return true to take over what happens to the Hardware * Hardware: its wearer was just defeated. Return true to take over what happens to the Hardware

View file

@ -131,6 +131,8 @@ export interface Args {
cards?: number[]; cards?: number[];
to?: LocId; to?: LocId;
mode?: 'destroy' | 'disable'; mode?: 'destroy' | 'disable';
/** Restore Point: heal instead of recovering a card. */
heal?: boolean;
/** Bit Flip: reroll dice showing this or less. */ /** Bit Flip: reroll dice showing this or less. */
k?: number; k?: number;
} }
@ -216,6 +218,7 @@ export type HookName =
| 'onInstall' | 'onInstall'
| 'onCombatStart' | 'onCombatStart'
| 'onDefeat' | 'onDefeat'
| 'onDamage'
| 'onCombatEnd'; | 'onCombatEnd';
/** Something that has an effect in play. */ /** Something that has an effect in play. */

View file

@ -28,7 +28,7 @@ card('Carbon NanoBots', () => {
const t = scene('Carbon NanoBots', 'Broken Bits', { south: { main: ['Additional Core'] } }); const t = scene('Carbon NanoBots', 'Broken Bits', { south: { main: ['Additional Core'] } });
t.own(0, 'A2'); t.own(0, 'A2');
t.hardware(0, 1, 'Additional Core'); t.hardware(0, 1, 'Additional Core');
t.ram(0, 5).use(avatarCard(t, 0, 1), { to: 'A2' }).settle(); t.ram(0, 6).use(avatarCard(t, 0, 1), { to: 'A2' }).settle();
assert.equal(t.avatar(0, 5).at, 'A2', 'the copy is in play'); assert.equal(t.avatar(0, 5).at, 'A2', 'the copy is in play');
assert.equal(avatarCores(t.s, 0, 5, 'defend'), 3, "2 Cores + the original's Additional Core"); assert.equal(avatarCores(t.s, 0, 5, 'defend'), 3, "2 Cores + the original's Additional Core");
// The copy attacks and loses: the original keeps its Hardware. // The copy attacks and loses: the original keeps its Hardware.
@ -44,7 +44,7 @@ test('copy rule variants: a new copy defends but only advances or attacks from i
const t = scene('Carbon NanoBots', 'Broken Bits'); const t = scene('Carbon NanoBots', 'Broken Bits');
t.s.rules = withRule(t.s.rules, 'copies.waitATurn=true'); t.s.rules = withRule(t.s.rules, 'copies.waitATurn=true');
t.own(0, 'A2'); t.own(0, 'A2');
t.ram(0, 5).use(avatarCard(t, 0, 1), { to: 'A2' }).settle(); t.ram(0, 6).use(avatarCard(t, 0, 1), { to: 'A2' }).settle();
assert.equal(t.avatar(0, 5).at, 'A2', 'the copy is in play, defending A2'); assert.equal(t.avatar(0, 5).at, 'A2', 'the copy is in play, defending A2');
const acts = () => t.legal().filter((a) => (a.type === 'advance' || a.type === 'attack') && a.slot === 5); const acts = () => t.legal().filter((a) => (a.type === 'advance' || a.type === 'attack') && a.slot === 5);
assert.deepEqual(acts(), []); assert.deepEqual(acts(), []);
@ -58,7 +58,7 @@ test('copy rule variants: a new copy defends but only advances or attacks from i
test('copy rule variants: copies can need Avatar 2 unlocked, or be off', () => { test('copy rule variants: copies can need Avatar 2 unlocked, or be off', () => {
const t = scene('Carbon NanoBots', 'Broken Bits'); const t = scene('Carbon NanoBots', 'Broken Bits');
t.own(0, 'A2'); t.own(0, 'A2');
t.ram(0, 5); t.ram(0, 6);
const replicate = () => t.legal().some((a) => a.type === 'activate' && a.name === 'Carbon NanoBots'); const replicate = () => t.legal().some((a) => a.type === 'activate' && a.name === 'Carbon NanoBots');
assert.ok(replicate()); assert.ok(replicate());
t.s.rules = withRule(t.s.rules, 'copies.needAvatar2=true'); t.s.rules = withRule(t.s.rules, 'copies.needAvatar2=true');
@ -73,7 +73,7 @@ test('no copy can enter a location while a combat is going on there', () => {
const t = scene('Broken Bits', 'Carbon NanoBots', { north: { servers: ['Cluster Server'] } }); const t = scene('Broken Bits', 'Carbon NanoBots', { north: { servers: ['Cluster Server'] } });
t.own(1, 'C1', 'Cluster Server'); t.own(1, 'C1', 'Cluster Server');
assert.ok(hasRoom(t.s, 1, 'C1'), 'the Cluster Server has room for a second defender'); assert.ok(hasRoom(t.s, 1, 'C1'), 'the Cluster Server has room for a second defender');
t.ram(1, 5); t.ram(1, 6);
fight(t); fight(t);
assert.ok(t.s.combat, 'North can Replicate, so the combat stops for a response'); assert.ok(t.s.combat, 'North can Replicate, so the combat stops for a response');
assert.ok(!hasRoom(t.s, 1, 'C1')); assert.ok(!hasRoom(t.s, 1, 'C1'));
@ -101,8 +101,8 @@ card('Pixelated Picture', () => {
}); });
card('Beta Version 1.0', () => { card('Beta Version 1.0', () => {
const t = scene('Beta Version 1.0', 'Broken Bits', { south: { main: ['Additional Core', 'RAM Expansion', 'Packet Accelerator'] } }); const t = scene('Beta Version 1.0', 'Broken Bits', { south: { main: ['Additional Core', 'Overclocked CPU', 'Packet Accelerator'] } });
t.hardware(0, 1, 'RAM Expansion'); t.hardware(0, 1, 'Overclocked CPU');
t.hardware(0, 1, 'Packet Accelerator'); t.hardware(0, 1, 'Packet Accelerator');
const [ac] = t.hand(0, 'Additional Core'); const [ac] = t.hand(0, 'Additional Core');
t.ram(0, 4 + 5); t.ram(0, 4 + 5);

View file

@ -34,6 +34,37 @@ test('every card has its own test', () => {
assert.deepEqual(pool.all.map((c) => c.name).filter((n) => !tested.has(n)), []); assert.deepEqual(pool.all.map((c) => c.name).filter((n) => !tested.has(n)), []);
}); });
test('set 2 loads on request, is well formed, and is unscripted', () => {
const two = loadCards(undefined, [2]);
const count = (kind: string) => two.all.filter((c) => c.kind === kind).length;
assert.equal(count('avatar'), 12);
assert.equal(count('server'), 7);
assert.equal(count('program'), 17);
assert.equal(count('hardware'), 8);
assert.equal(count('execution'), 8);
for (const c of two.all) {
assert.equal(c.set, 2, c.name);
assert.ok(!pool.byName.has(c.name), `${c.name} clashes with a set 1 card`);
assert.ok(c.text || c.ability, `${c.name} has text`);
if (c.kind === 'avatar') {
assert.equal(c.cores + c.slots, 6, `${c.name}: Cores + Slots = 6`);
assert.equal(c.health, { 4: 9, 3: 10, 2: 12 }[c.cores], `${c.name}: Health by Cores`);
assert.ok(c.type && c.ability && c.ability.cost >= 3 && c.ability.cost <= 5, `${c.name}: typed, Ability 3-5 RAM`);
} else if (c.kind === 'program') {
assert.ok(c.type && c.ram >= 4 && c.ram <= 6, `${c.name}: typed, 4-6 RAM`);
} else if (c.kind === 'execution') {
assert.ok(c.ram >= 3 && c.ram <= 5, `${c.name}: 3-5 RAM`);
} else if (c.kind === 'hardware') {
assert.ok(c.ram >= 4 && c.ram <= 7, `${c.name}: 4-7 RAM`);
}
}
const all = loadCards(undefined, 'all');
assert.equal(all.all.length, pool.all.length + two.all.length);
const warnings = staleScripts(all);
assert.equal(warnings.length, two.all.length, 'one warning per set 2 card');
assert.ok(warnings.every((w) => w.endsWith('no script yet')), 'the only warnings are missing scripts');
});
test('random decks are legal', () => { test('random decks are legal', () => {
const rng = makeRng(3); const rng = makeRng(3);
for (let i = 0; i < 50; i++) { for (let i = 0; i < 50; i++) {

View file

@ -2,7 +2,7 @@ import assert from 'node:assert/strict';
import { test } from 'node:test'; import { test } from 'node:test';
import { addBugs } from '../src/cards/util.ts'; import { addBugs } from '../src/cards/util.ts';
import { avatarCores, canWear, executionActions, executionCost, programCost } from '../src/engine.ts'; import { avatarCores, canWear, executionActions, executionCost, programCost } from '../src/engine.ts';
import { portsFree } from '../src/query.ts'; import { healthOf, portsFree } from '../src/query.ts';
import { card } from './card.ts'; import { card } from './card.ts';
import { Table, type Side } from './table.ts'; import { Table, type Side } from './table.ts';
@ -20,7 +20,8 @@ const attackerDice = (t: Table) => t.logText().match(/Roll: Broken Bits \[([\d,]
card('RAM Expansion', () => { card('RAM Expansion', () => {
const t = scene({ south: { main: ['RAM Expansion'] } }); const t = scene({ south: { main: ['RAM Expansion'] } });
t.hardware(0, 1, 'RAM Expansion'); t.hardware(0, 1, 'RAM Expansion');
assert.equal(avatarCores(t.s, 0, 1, 'defend'), 6); assert.equal(avatarCores(t.s, 0, 1, 'defend'), 4, 'no Cores');
assert.equal(healthOf(t.s, { player: 0, slot: 1 }), 9 + 2, 'Broken Bits: 9 Health, +2');
}); });
card('Additional Core', () => { card('Additional Core', () => {

View file

@ -15,8 +15,8 @@ function turnOf(t: Table, p: 0 | 1): Table {
} }
/** South's Avatar 1 (Broken Bits, 4 Cores, 9 Health) on B1 facing North's Avatar 1 on C1. */ /** South's Avatar 1 (Broken Bits, 4 Cores, 9 Health) on B1 facing North's Avatar 1 on C1. */
function standoff(o: { northMain?: string[] } = {}): Table { function standoff(o: { northMain?: string[]; southMain?: string[] } = {}): Table {
const t = new Table({ health: true, north: { main: o.northMain } }); const t = new Table({ health: true, north: { main: o.northMain }, south: { main: o.southMain } });
t.own(0, 'B1'); t.own(0, 'B1');
t.own(1, 'C1'); t.own(1, 'C1');
t.place(0, 1, 'B1'); t.place(0, 1, 'B1');
@ -180,3 +180,68 @@ test('health: with two defenders the damage destroys the weakest first, and the
assert.equal(u.s.locations.C1.owner, 0); assert.equal(u.s.locations.C1.owner, 0);
assert.equal(u.avatar(0, 1).at, 'C1'); assert.equal(u.avatar(0, 1).at, 'C1');
}); });
test('health: Resource Leech and Persistent Infection fire on a lost roll, not only a destruction', () => {
const t = standoff({ northMain: ['Resource Leech', 'Persistent Infection'] });
t.program(1, 'C1', 'Resource Leech');
t.program(1, 'C1', 'Persistent Infection');
const ram = t.s.players[1].ram;
t.to('attack').go({ type: 'attack', slot: 1, to: 'C1' });
t.rig(3, 3, 3, 3, 4, 4, 4, 4); // 12 to 16: the attacker takes 4 and lives
t.end();
assert.equal(t.avatar(0, 1).at, 'B1');
assert.equal(t.avatar(0, 1).damage, 4);
assert.equal(t.s.players[1].ram, ram + 3, 'Resource Leech pays 3');
assert.equal(t.avatar(0, 1).permanentInfection, 1, 'a permanent Infection counter');
});
test('health: Overflow Error only disables, until the next command, while the attacker lives', () => {
const t = standoff({ northMain: ['Overflow Error'], southMain: ['Stack Overflow'] });
t.program(1, 'C1', 'Overflow Error');
const so = t.program(0, 'B1', 'Stack Overflow');
t.to('attack').go({ type: 'attack', slot: 1, to: 'C1' });
t.rig(3, 3, 3, 3, 4, 4, 4, 4);
t.end();
assert.equal(t.s.choice?.kind, 'Overflow Error:hit');
assert.ok(t.s.choice!.options.every((o) => o.label.startsWith('Disable')), 'no destroy option while the attacker lives');
t.choose('Disable Stack Overflow').settle();
assert.ok(t.s.cards[so].disabledUntil > t.s.clock && t.s.cards[so].disabledUntil < FOREVER, 'disabled until the next command');
assert.ok(t.s.locations.B1.programs.includes(so), 'still installed');
});
test('health: Overflow Error may destroy a Program when the attacker is destroyed', () => {
const t = standoff({ northMain: ['Overflow Error'], southMain: ['Stack Overflow'] });
t.program(1, 'C1', 'Overflow Error');
const so = t.program(0, 'B1', 'Stack Overflow');
t.to('attack').go({ type: 'attack', slot: 1, to: 'C1' });
t.rig(1, 1, 1, 1, 6, 6, 6, 6); // 4 to 24: 20 damage on 9 Health
t.end();
assert.equal(t.s.choice?.kind, 'Overflow Error:hit');
t.choose('Destroy Stack Overflow').settle();
assert.ok(t.s.players[0].discard.includes(so));
assert.equal(t.avatar(0, 1).at, null);
});
test("health: Backup Machine's Restore Point heals 3 damage", () => {
const t = new Table({ health: true, south: { avatars: ['Backup Machine', 'Broken Bits', 'Pixelated Picture', 'Corrupt Driver'] } });
t.own(0, 'B1');
t.place(0, 1, 'B1');
const bm = t.avatar(0, 1).card;
assert.ok(!t.legal().some((a) => a.type === 'activate' && a.card === bm && a.args.heal), 'nothing to heal yet');
t.avatar(0, 1).damage = 5;
t.ram(0, 5).use(bm, { heal: true }).settle();
assert.equal(t.avatar(0, 1).damage, 2);
assert.equal(t.s.players[0].ram, 0);
assert.equal(healthLeft(t.s, { player: 0, slot: 1 }), 8);
});
test('health: RAM Expansion adds 2 Health, so a hit that would destroy the wearer leaves it standing', () => {
const t = standoff({ northMain: ['RAM Expansion'] });
t.hardware(1, 1, 'RAM Expansion');
assert.equal(healthOf(t.s, { player: 1, slot: 1 }), 11);
t.to('attack').go({ type: 'attack', slot: 1, to: 'C1' });
t.rig(6, 6, 6, 6, 4, 4, 4, 3); // 24 to 15: 9 damage against 11 Health
t.end();
assert.equal(t.avatar(1, 1).at, 'C1', 'C1 holds');
assert.equal(healthLeft(t.s, { player: 1, slot: 1 }), 2);
});

View file

@ -38,16 +38,16 @@ card('Recursive Infection', () => {
}); });
card('Memory Parasite', () => { card('Memory Parasite', () => {
const t = scene({ south: { main: ['Additional Core', 'RAM Expansion'] }, north: { main: ['Memory Parasite'] } }); const t = scene({ south: { main: ['Additional Core', 'Overclocked CPU'] }, north: { main: ['Memory Parasite'] } });
t.program(1, 'C1', 'Memory Parasite'); t.program(1, 'C1', 'Memory Parasite');
t.hardware(0, 1, 'Additional Core'); t.hardware(0, 1, 'Additional Core');
t.hardware(0, 1, 'RAM Expansion'); t.hardware(0, 1, 'Overclocked CPU');
attackC1(t); attackC1(t);
t.rig(6, 6, 6, 6, 6, 6, 1, 1, 1, 1).end(); t.rig(6, 6, 6, 6, 6, 6, 1, 1, 1, 1).end();
assert.equal(t.s.choice?.kind, 'Memory Parasite:disable'); assert.equal(t.s.choice?.kind, 'Memory Parasite:disable');
assert.equal(t.s.choice?.player, 0, "the attacking Avatar's owner chooses"); assert.equal(t.s.choice?.player, 0, "the attacking Avatar's owner chooses");
t.choose('Additional Core').settle(); t.choose('Additional Core').settle();
assert.equal(attackerDice(t), 6, '4 + RAM Expansion only'); assert.equal(attackerDice(t), 6, '4 + Overclocked CPU only');
}); });
card('Replication Routine', () => { card('Replication Routine', () => {
@ -67,7 +67,7 @@ card('Resource Leech', () => {
attackC1(t); attackC1(t);
t.rig(1, 1, 1, 1, 6, 6, 6, 6).end(); t.rig(1, 1, 1, 1, 6, 6, 6, 6).end();
assert.equal(t.avatar(0, 1).at, null); assert.equal(t.avatar(0, 1).at, null);
assert.equal(t.s.players[1].ram, 5); assert.equal(t.s.players[1].ram, 3);
}); });
card('Worm Protocol', () => { card('Worm Protocol', () => {
@ -151,10 +151,10 @@ card('Race Condition', () => {
}); });
card('Memory Leak', () => { card('Memory Leak', () => {
const t = scene({ south: { main: ['Additional Core', 'RAM Expansion'] }, north: { main: ['Memory Leak'] } }); const t = scene({ south: { main: ['Additional Core', 'Overclocked CPU'] }, north: { main: ['Memory Leak'] } });
t.program(1, 'C1', 'Memory Leak'); t.program(1, 'C1', 'Memory Leak');
t.hardware(0, 1, 'Additional Core'); t.hardware(0, 1, 'Additional Core');
t.hardware(0, 1, 'RAM Expansion'); t.hardware(0, 1, 'Overclocked CPU');
attackC1(t); attackC1(t);
t.rig(6, 6, 6, 6, 6, 1, 1, 1, 1).end(); t.rig(6, 6, 6, 6, 6, 1, 1, 1, 1).end();
assert.equal(attackerDice(t), 5, '4 + 3 - 2 Hardware'); assert.equal(attackerDice(t), 5, '4 + 3 - 2 Hardware');

BIN
tags.json Normal file

Binary file not shown.

BIN
v09-card-sheets.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.