commit 85f6808820900d4f6991511511c62a8375002871 Author: Forrest Date: Sun Sep 27 10:20:04 2026 -0400 init diff --git a/.backup/hardware-front.css b/.backup/hardware-front.css new file mode 100644 index 0000000..8e43acb --- /dev/null +++ b/.backup/hardware-front.css @@ -0,0 +1,244 @@ +/* ====================================================== + Hardware card — green PCB (printed circuit board) + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #06120a; + --accent: #ffd24a; + --accent-dk: #a9822a; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* ----- Solder-mask green board ----- */ +.pcb { + position: absolute; + inset: 18px; + border-radius: 16px; + box-sizing: border-box; + padding: 40px 44px 118px; /* bottom pad clears the edge connector */ + color: #e7f3e6; + background:linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%); + box-shadow: + inset 0 0 0 6px rgba(255,255,255,0.05), + inset 0 0 60px rgba(0,0,0,0.45), + 0 10px 24px rgba(0,0,0,0.5); +} + +/* Copper traces + vias, drawn as a translucent overlay */ +.traces { + position: absolute; + inset: 0; + border-radius: 16px; + pointer-events: none; + opacity: 0.55; + background-image: + /* thin horizontal + vertical copper traces */ + repeating-linear-gradient(0deg, rgba(210,170,60,0.25) 0 2px, transparent 2px 66px), + repeating-linear-gradient(90deg, rgba(210,170,60,0.22) 0 2px, transparent 2px 54px), + /* diagonal accent traces */ + repeating-linear-gradient(45deg, rgba(230,193,90,0.10) 0 2px, transparent 2px 40px), + /* vias (plated holes) */ + radial-gradient(circle, rgba(230,193,90,0.6) 0 3px, rgba(0,0,0,0.35) 3px 6px, transparent 7px); + background-size: auto, auto, auto, 108px 108px; + background-position: 0 0, 0 0, 0 0, 20px 20px; +} + +/* ----- Corner mounting holes (drilled + copper ring) ----- */ +.hole { + position: absolute; + width: 46px; + height: 46px; + border-radius: 50%; + background: + radial-gradient(circle, #05130a 0 12px, #c9a227 12px 18px, #1c1f25 18px 100%); + box-shadow: inset 0 0 6px rgba(0,0,0,0.7); + z-index: 4; +} +.hole.tl { top: 22px; left: 22px; } +.hole.tr { top: 22px; right: 22px; } +.hole.bl { bottom: 130px; left: 22px; } +.hole.br { bottom: 130px; right: 22px; } + +/* ----- Silkscreen title ----- */ +.silk-title { + position: relative; + z-index: 3; + margin: 20px 60px 0; + padding-bottom: 14px; + border-bottom: 2px dashed rgba(231,243,230,0.45); + display: flex; + align-items: baseline; + gap: 14px; +} +.silk-title .ref { + font-size: 22px; + font-weight: 700; + color: #ffd24a; + letter-spacing: 2px; +} +.silk-title .name { + font-size: 40px; + font-weight: 800; + letter-spacing: 1px; + text-transform: uppercase; + line-height: 1.02; + color: #f2fbf1; + text-shadow: 0 2px 4px rgba(0,0,0,0.5); +} + +/* ----- RAM cost as an IC chip ----- */ +.ic { + position: absolute; + top: 144px; + right: 54px; + z-index: 5; + width: 132px; + height: 132px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + border-radius: 10px; + color: #f4d873; + background: linear-gradient(160deg, #2a2a2a 0%, #0b0b0b 100%); + border: 3px solid #000; + box-shadow: + 0 8px 16px rgba(0,0,0,0.55), + inset 0 2px 4px rgba(255,255,255,0.12), + /* gold pins on left/right */ + -14px 0 0 -6px #caa53a, 14px 0 0 -6px #caa53a; +} +.ic::before { + /* pin 1 dot */ + content: ""; + position: absolute; + top: 12px; + left: 12px; + width: 10px; + height: 10px; + border-radius: 50%; + background: #6b6b6b; +} +.ic-value { + font-size: 60px; + font-weight: 800; + line-height: 1; + text-shadow: 0 2px 3px rgba(0,0,0,0.7); +} +.ic-label { + font-size: 20px; + font-weight: 700; + letter-spacing: 3px; + margin-top: 4px; + color: #cfeccb; +} + +/* ----- Art window ----- */ +.art-pad { + position: relative; + z-index: 3; + margin: 26px 0 0; + height: 500px; + border-radius: 8px; + overflow: hidden; + background: #071b0f; + border: 4px solid #848484; + box-shadow: + inset 0 0 0 3px #c9a227, + inset 0 0 26px rgba(0,0,0,0.6); +} +.art { + width: 100%; + height: 100%; + display: block; + background-color: #071b0f; + background-image: url({{index assets card.image}}); + background-position: center; + background-size: cover; + background-repeat: no-repeat; +} + +/* ----- Silkscreen description panel ----- */ +.silk-box { + position: relative; + z-index: 3; + margin-top: 24px; + padding: 20px 22px; + min-height: 170px; + border-radius: 8px; + background: linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%); + border: 2px solid rgba(231,243,230,0.5); + box-shadow: inset 0 0 20px rgba(0,0,0,0.4); +} +.silk-box-ref { + position: absolute; + top: -14px; + left: 18px; + padding: 0 8px; + font-size: 20px; + font-weight: 700; + color: #ffd24a; + background: #2b2f36; +} +.description { + margin: 0; + font-size: 24px; + line-height: 1.4; + color: #eafae8; +} + +/* ----- Footer + gold edge connector ----- */ +.footer { + position: absolute; + left: 44px; + right: 44px; + bottom: 96px; + z-index: 3; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: #c4c4c4; +} +.footer .kind { color: #ffd24a; } + +.edge-connector { + position: absolute; + left: 40px; + right: 40px; + bottom: 0; + height: 40px; + border-radius: 0 0 6px 6px; + background: + repeating-linear-gradient( + 90deg, + #e6c15a 0 26px, + #a9822a 26px 30px, + #191a1a 30px 40px + ); + box-shadow: inset 0 6px 10px rgba(0,0,0,0.5); +} diff --git a/.backup/hardware-front.html b/.backup/hardware-front.html new file mode 100644 index 0000000..89544a4 --- /dev/null +++ b/.backup/hardware-front.html @@ -0,0 +1,50 @@ + +
+
+
+ + +
+ + +
+
+
+
+ + +
+ HW + {{card.name}} +
+ + +
+ {{card.ram}} + RAM +
+ + +
+
+
+ + +
+ U1 +

{{card.description}}

+
+ + + +
+ +
+
diff --git a/assets/carbon-nanobots.svg b/assets/carbon-nanobots.svg new file mode 100644 index 0000000..e8af5a4 --- /dev/null +++ b/assets/carbon-nanobots.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/driver-ascii-art.png b/assets/driver-ascii-art.png new file mode 100644 index 0000000..9b6429d Binary files /dev/null and b/assets/driver-ascii-art.png differ diff --git a/assets/nanos-ascii-art.png b/assets/nanos-ascii-art.png new file mode 100644 index 0000000..8c35e49 Binary files /dev/null and b/assets/nanos-ascii-art.png differ diff --git a/assets/pix.jpeg b/assets/pix.jpeg new file mode 100644 index 0000000..fe796cb Binary files /dev/null and b/assets/pix.jpeg differ diff --git a/assets/rubble-ascii-art.png b/assets/rubble-ascii-art.png new file mode 100644 index 0000000..710db87 Binary files /dev/null and b/assets/rubble-ascii-art.png differ diff --git a/assets/unconfirmed-892593.null b/assets/unconfirmed-892593.null new file mode 100644 index 0000000..fe796cb Binary files /dev/null and b/assets/unconfirmed-892593.null differ diff --git a/assets/xp-ascii-art.png b/assets/xp-ascii-art.png new file mode 100644 index 0000000..64d07bb Binary files /dev/null and b/assets/xp-ascii-art.png differ diff --git a/card-sheets.pdf b/card-sheets.pdf new file mode 100644 index 0000000..9580d5f Binary files /dev/null and b/card-sheets.pdf differ diff --git a/card-template.html b/card-template.html new file mode 100644 index 0000000..aefc8f9 --- /dev/null +++ b/card-template.html @@ -0,0 +1,155 @@ + +
+ + +
+ {{ram}} + RAM +
+ +
+ {{cores}} + CORES +
+ + +
+

{{name}}

+
+ + +
+ {{name}} +
+ + +
+

{{description}}

+
+ +
+ + diff --git a/cards.md b/cards.md new file mode 100644 index 0000000..60d26e2 --- /dev/null +++ b/cards.md @@ -0,0 +1,141 @@ +# Card Catalog + +### Card Types + +- Virus (V) +- Bug (B) +- Glitch (G) +- Patch (P) + +### RAM + +A card's printed RAM value serves two purposes: + +- **Play/Install Cost:** Spend that amount of RAM to play or install the card. +- **Sacrifice Value:** Sacrifice the card to add its printed RAM value to your available RAM pool. + +Spent RAM remains used. Any unused RAM carries over between turns. Additional RAM must be generated by Servers, abilities, or sacrificing cards. + +### Locality (Programs & Executions) + +The battlefield is a network of **Servers**. Programs and Executions do not bolt onto Avatars — they act on a **Server** and resolve **locally**, affecting the Avatars, Programs, Hardware, and combats *at that Server*. + +- **Programs** are installed on a **Server you control** and remain there, exerting a continuous localized effect. A Server holds up to **2 Programs** (raise this with *Compatibility Layer*). +- **Enemy Avatars never occupy a Server you control.** An enemy Avatar can only reach your Server by **attacking** it — placing or moving an enemy Avatar onto your Server triggers an **immediate battle**. So a Program's "enemy" effects trigger on Avatars **attacking or breaching** this Server, and during the resulting **combat** — never on an enemy sitting idle at it. Only *your own* Avatars can be based at / defend / move away from a Server you control. +- **Program scope follows its type:** **Virus (V)** effects hit the **attacker** (Avatars attacking/breaching the Server); **Bug (B)** effects warp the **combat** at the Server; **Glitch (G)** effects manipulate **information & adjacency**; **Patch (P)** effects protect/support **your own** Avatars and economy at the Server. +- **Executions** are one-shot actions **played targeting a Server** (usually one where you have an Avatar or that you are attacking); they resolve within that Server's locality and are then discarded. +- "This Server" means the Server the Program is installed on. "At this Server" means Avatars **based/defending there** (yours) or **attacking/breaching it** (the enemy's) — plus the Programs, Hardware, and combats there. + +### Cores + +A card's printed Core value is the attacking and defending amount: + +- **Core:** A single core resolves to a 1d6 dice. +- **Printed Cores:** The number of cores corresponds to the number of dice rolled during action. + +--- + +## Avatars + +1. Carbon Nanobots (B) | 2 Cores | 3 RAM +2. Corrupt Driver (V) | 3 Cores | 4 RAM +3. Pixelated Picture (G) | 3 Cores | 4 RAM +4. Beta Version 1.0 (P) | 4 Cores | 4 RAM +5. Code Zero (V) | 2 Cores | 4 RAM +6. Data Leaker (G) | 3 Cores | 2 RAM +7. Backup Machine (P) | 3 Cores | 5 RAM +8. Broken Bits (B) | 4 Cores | 5 RAM + +## Programs + +*Installed on a Server you control (max 2 per Server). Effects are localized to that Server.* + +1. Recursive Infection (V) | Whenever an enemy Avatar attacks or breaches this Server, place an Infection counter on it. An Avatar with 3+ Infection counters has -1 Core. | 6 RAM +2. Memory Parasite (V) | Enemy Avatars attacking this Server have -1 RAM available for Executions. | 5 RAM +3. Replication Routine (V) | When you install a Virus Program on this Server, you may install a second Virus Program from your hand here for 1 less RAM. | 6 RAM +4. Resource Leech (V) | Whenever an enemy Avatar is destroyed while attacking this Server, gain 2 RAM. | 5 RAM +5. Worm Protocol (V) | The localized effects of your other Programs on this Server also apply at one adjacent Server you choose when this is installed. | 4 RAM +6. Payload Injector (V) | The first Execution you play targeting this Server each turn costs 1 less RAM. | 6 RAM +7. Persistent Infection (V) | If this Server stops being under your control, keep this Program installed here; its effect now applies to every Avatar at that Server regardless of controller. | 6 RAM + +8. Infinite Loop (B) | The first enemy Avatar to attack this Server each turn is caught in a loop: if it survives the battle, it must immediately repeat its attack once. Gain 1 RAM. | 5 RAM +9. Stack Overflow (B) | Avatars you control defending this Server gain +1 Core for each Program installed on this Server (including this one). | 7 RAM +10. Race Condition (B) | During any combat at this Server, both players secretly choose Attack or Defend. If the choices differ, the defender gains a combat bonus. | 4 RAM +11. Memory Leak (B) | At the start of any combat at this Server, the attacking Avatar loses 1 RAM for each Hardware installed on it. | 6 RAM +12. Null Pointer (B) | Once per turn, when an enemy Execution would resolve at this Server, resolve the game's uncertainty mechanic. On success, it does nothing. | 5 RAM +13. Deadlock (B) | Neither Avatar in a combat that takes place at this Server may retreat until that combat resolves. | 4 RAM +14. Overflow Error (B) | When an enemy Avatar is destroyed while attacking this Server, destroy or disable one Hardware or Program that Avatar's controller has in play. | 5 RAM +15. Undefined Behavior (B) | Once per turn, copy the localized effect of another Program on this Server. Then disable this Program until your next turn. | 8 RAM + +16. Packet Loss (G) | When an enemy successfully breaches this Server, its controller discards a card at random. | 6 RAM +17. Desynchronization (G) | Enemy Avatars attacking this Server cannot use their Hardware's "once per turn" abilities during that combat. | 5 RAM +18. Visual Artifact (G) | The first attack made against an Avatar you control at this Server each turn suffers -1 Core. | 5 RAM +19. Ghost Process (G) | Your Executions played targeting this Server may also affect Avatars, Programs, and Hardware at one adjacent Server. | 6 RAM +20. False Positive (G) | When an enemy Execution targets an Avatar you control at this Server, you may redirect it to another legal Avatar at this Server. | 7 RAM +21. Fragmentation (G) | Executions your opponents play targeting this Server cost +1 RAM. | 6 RAM +22. Latency Spike (G) | The attacking player cannot play Executions during the first step of any combat at this Server. | 5 RAM + +23. Hotfix (P) | The first Program on this Server that would be destroyed each turn is instead disabled until your next turn. | 7 RAM +24. Error Correction (P) | At the beginning of your turn, remove one negative counter or status from each Avatar you control at this Server. | 5 RAM +25. Garbage Collection (P) | Once per turn, sacrifice one Program installed on this Server to recover its printed RAM value. | 6 RAM +26. Version Control (P) | 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. | 5 RAM +27. Rollback Routine (P) | Once per turn, undo the most recent temporary stat reduction applied to an Avatar you control at this Server. | 4 RAM +28. Compatibility Layer (P) | This Server may hold one additional Program beyond the normal limit, and Patch Programs installed here cost 1 less RAM. | 6 RAM + +## Hardware + +1. RAM Expansion | Avatar gains +2 RAM capacity. | 5 RAM +2. Additional Core | Avatar gains +1 Core. | 5 RAM +3. Overclocked CPU | Avatar gains +2 Cores during combat, but one installed Program becomes disabled afterward. | 6 RAM +4. Solid-State Cache | The first Program installed on this Avatar each turn costs 1 less RAM. | 6 RAM +5. Redundant Power Supply | The first time this Avatar would be destroyed, destroy this Hardware instead and leave the Avatar active. | 8 RAM +6. Network Interface Upgrade | Moving between adjacent Servers costs 1 less resource or may occur once per turn for free. | 4 RAM +7. Dedicated GPU | Executions performed by this Avatar receive +1 effectiveness or combat strength. | 6 RAM +8. ECC Memory | Opponents cannot place Bug counters or Bug status effects on this Avatar. | 5 RAM +9. Cooling System | Prevent penalties caused by Overclocking Hardware or allow one Hardware to activate twice per turn. | 6 RAM +10. RAID Array | When a Program on this Avatar is destroyed, resolve the game's uncertainty mechanic. On success, return it to your hand. | 5 RAM +11. Packet Accelerator | This Avatar acts first when it initiates combat. | 4 RAM +12. Firewall Appliance | The first hostile Program or Execution targeting this Avatar each turn costs the opponent +1 RAM. | 6 RAM +13. Hardware Sandbox | Choose one Program installed on this Avatar. It cannot be targeted by opponents. | 7 RAM +14. Diagnostic Module | Look at one facedown or hidden card associated with an opposing Avatar or Server once per turn. | 4 RAM +15. Hot-Swap Bay | Once per turn, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost. | 6 RAM +16. Quantum Coprocessor | Once per turn when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware until your next turn. | 9 RAM + +## Executions + +*Played targeting a Server; resolve within that Server's locality, then discard.* + +1. Execute: Disconnect | Move one Avatar you control at the target Server to an adjacent Server, removing it from any combat there. | 4 RAM +2. Execute: Sabotage | Destroy or disable one Hardware on an enemy Avatar in combat at the target Server. | 7 RAM +3. Execute: Kill Process | Disable one Program installed on the target Server until its controller's next turn. | 5 RAM +4. Execute: Force Reboot | 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 this turn. | 5 RAM +5. Execute: Fork | Copy the localized effect of one Program installed on the target Server until end of turn. | 7 RAM +6. Execute: Ping Sweep | Look at all Programs and Hardware attached to the target Server and to every Avatar based at or attacking it, then draw a card. | 4 RAM +7. Execute: Trace Route | 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. | 5 RAM +8. Execute: Override | Choose one enemy Program installed on the target Server. Ignore its text until the end of turn. | 5 RAM +9. Execute: Memory Dump | Draw 2 cards, then discard 1. If you control the target Server, draw 1 extra card instead of discarding. | 4 RAM +10. Execute: Rollback | Return one Program or Hardware installed at the target Server this turn to its owner's hand. | 4 RAM +11. Execute: Root Access | Until end of turn, your Programs and Executions at the target Server may target protected Programs and Hardware as though they were unprotected. | 4 RAM +12. Execute: Packet Flood | Avatars based at the target Server cannot move or retreat until the start of their controller's next turn. | 5 RAM +13. Execute: Emergency Shutdown | End any combat at the target Server immediately. All Avatars there remain and become Disabled until end of turn. | 6 RAM +14. Execute: Process Clone | Choose one Program installed on the target Server you control. Treat it as though a second copy were installed there until end of turn. | 7 RAM +15. Execute: Defragment | Re-enable one Disabled Program on the target Server, or one Disabled Hardware on an Avatar there. | 4 RAM +16. Execute: Remote Access | Activate one Program installed on a Server adjacent to the target Server as though it were installed on the target Server, until end of turn. | 6 RAM +17. Execute: Purge | Remove all Virus/Infection counters and hostile persistent effects from every Avatar you control at the target Server. | 4 RAM +18. Execute: Hard Reset | Uninstall any number of Programs from the target Server you control. For each card returned to your hand this way, recover 1 RAM. | 6 RAM + +## Servers + +1. High Efficiency RAM Server | Add additional 4 RAM to resource total +2. MultiCore Server | Add 2 Cores to any Avatars +3. Cluster Server | Up to 2 Avatars can defend this Server +4. Power Server | Add additional 4 RAM to resource total +5. Backup Server | Duplicate Avatar based at this Server +6. Server Farm | Add 4 RAM to resource total and 2 Cores to any Avatar +7. Upgraded Hardware | Hardware upgrades cost 2 less RAM to install +8. Network Throttle | Firewalls cost 1 less RAM to install +9. Cloud Compute | Add 4 Cores to any Avatars +10. Duplicate Server | Copy one adjacent Server ability +11. Pingable Server | Up to 2 Avatars can defend this Server +12. Protected Server | Add 2 RAM if defending this Server +13. Callable Server | When drawing a card, you may choose to place it on the bottom of the deck and draw another diff --git a/decks/files-deck-1/attributes.csv b/decks/files-deck-1/attributes.csv new file mode 100644 index 0000000..c7e2367 --- /dev/null +++ b/decks/files-deck-1/attributes.csv @@ -0,0 +1,11 @@ +"Name","Description","Type","Options","Width","Order" +"Name","The name of the card","text","[]","135","-4" +"Count","How many of this card appear in the deck","numeric","[]","135","-3" +"Front Template","The card's front template","dropdown","[]","135","-2" +"Back Template","The card's back template","dropdown","[]","135","-1" +"RAM",,"numeric",,"135","1" +"Cores",,"numeric",,"135","2" +"Description",,"text",,"135","3" +"Type","Virus / Bug / Glitch / Patch","dropdown","[{""value"":""V,B,G,P"",""color"":""#214ACE""}]","135","4" +"Image",,"text",,"135","5" +"Expansion Slots","Expansion Slots for Upgrades","numeric",,"135","8" \ No newline at end of file diff --git a/decks/files-deck-1/avatar-front.css b/decks/files-deck-1/avatar-front.css new file mode 100644 index 0000000..84e1bb9 --- /dev/null +++ b/decks/files-deck-1/avatar-front.css @@ -0,0 +1,273 @@ +/* ====================================================== + Avatar card — full-bleed cyber HUD unit + Inspired by the CD PROJEKT cyberpunk TCG frame, fused with + our deck: type accents, CPU-core power chip, gold hardware + expansion bus. RAM = cost, Cores = power. + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05070a; + --accent: #8b949e; + --accent-dk: #3a3f47; + --gold: #e6c15a; + --gold-dk: #a9822a; + --chamfer: 22px; +} + +/* Type-driven accent palette (shared across the deck) */ +.type-v { --accent: #3fb950; --accent-dk: #176b2c; } /* Virus */ +.type-b { --accent: #ff5c5c; --accent-dk: #a11a1a; } /* Bug */ +.type-g { --accent: #d264ff; --accent-dk: #7a1fb0; } /* Glitch */ +.type-p { --accent: #4aa3ff; --accent-dk: #0b57c9; } /* Patch */ + +/* ----- Full-bleed art ----- */ +.art { + position: absolute; + inset: 0; + z-index: 0; + image-rendering: pixelated; + background-color: #0a0f16; + background-image: url({{index assets card.image}}); + background-position: center; + background-size: cover; + background-repeat: no-repeat; +} +/* cinematic tint: accent top-corner light, magenta 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(255,40,120,0.28) 0%, transparent 60%), + linear-gradient(180deg, rgba(3,5,9,0.55) 0%, rgba(3,5,9,0) 22%, rgba(3,5,9,0) 40%, rgba(3,5,9,0.78) 72%, rgba(3,5,9,0.96) 100%); + opacity: 0.9; +} +.scan { + position: absolute; + inset: 0; + z-index: 1; + pointer-events: none; + opacity: 0.5; + background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 2px, transparent 2px 4px); +} + +/* ----- Angular neon HUD frame (open chamfered corners) ----- */ +.neon { + position: absolute; + inset: 16px; + z-index: 3; + pointer-events: none; + border: 2px 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 14px var(--accent), inset 0 0 18px rgba(0,0,0,0.55); +} +/* small accent ticks on the top chamfers */ +.tick { + position: absolute; + z-index: 4; + width: 30px; + height: 3px; + background: var(--accent); + box-shadow: 0 0 8px var(--accent); +} +.tick.tl { top: 30px; left: 8px; transform: rotate(45deg); } +.tick.tr { top: 30px; right: 8px; transform: rotate(-45deg); } + +/* ----- Top-left: cores (CPU-core chip) ----- */ +.core { + position: absolute; + z-index: 5; + top: 28px; + left: 28px; + width: 116px; + height: 116px; + display: flex; + align-items: center; + justify-content: center; + background-repeat: no-repeat; + background-image: + repeating-linear-gradient(90deg, transparent 0 9px, var(--accent) 9px 16px, transparent 16px 26px), + repeating-linear-gradient(90deg, transparent 0 9px, var(--accent) 9px 16px, transparent 16px 26px), + repeating-linear-gradient(0deg, transparent 0 9px, var(--accent) 9px 16px, transparent 16px 26px), + repeating-linear-gradient(0deg, transparent 0 9px, var(--accent) 9px 16px, transparent 16px 26px); + background-size: 80px 14px, 80px 14px, 14px 80px, 14px 80px; + background-position: top center, bottom center, left center, right center; + filter: drop-shadow(0 0 10px rgba(0,0,0,0.7)); +} +.core::before { + content: ""; + position: absolute; + inset: 14px; + border-radius: 9px; + background: linear-gradient(160deg, #2a2f36 0%, #14181d 100%); + border: 2px solid var(--accent-dk); + box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 0 10px rgba(0,0,0,0.75); +} +.core-count { + position: relative; + z-index: 2; + width: 70px; + height: 70px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 6px; + font-size: 46px; + font-weight: 800; + color: #05070a; + text-shadow: 0 1px 1px rgba(255,255,255,0.25); + background-color: var(--accent); + background-image: + linear-gradient(0deg, rgba(0,0,0,0.35) 1px, transparent 1px), + linear-gradient(90deg, rgba(0,0,0,0.35) 1px, transparent 1px); + background-size: 10px 10px; + box-shadow: 0 0 16px var(--accent), inset 0 0 6px rgba(0,0,0,0.55); +} + +/* type glyph under the core chip */ +.typechip { + position: absolute; + z-index: 5; + top: 152px; + left: 55px; + width: 62px; + height: 62px; + display: flex; + align-items: center; + justify-content: center; + font-size: 34px; + font-weight: 800; + color: #05070a; + clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); + 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); +} + +/* ----- 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: 214px; + 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: 50px; + font-weight: 800; + letter-spacing: 1px; + line-height: 1.0; + 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: #eef6f1; + background: linear-gradient(180deg, rgba(4,7,11,0.86) 0%, rgba(4,7,11,0.92) 100%); + border-left: 3px solid var(--accent); + box-shadow: inset 0 0 26px rgba(0,0,0,0.5); +} + +/* ----- Ports badge (hardware capacity) ----- */ +.ports { + position: absolute; + z-index: 5; + top: 96px; + right: 30px; + width: 96px; + height: 96px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); + background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%); + box-shadow: 0 0 16px var(--accent); +} +.ports::before { + content: ""; + position: absolute; + inset: 3px; + clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); + background: linear-gradient(160deg, #12181f 0%, #0a0e13 100%); +} +.ports b { + position: relative; + z-index: 1; + font-size: 42px; + font-weight: 800; + line-height: 1; + color: #fff; + text-shadow: 0 0 10px var(--accent), 0 2px 3px #000; +} +.ports i { + position: relative; + z-index: 1; + font-style: normal; + font-size: 15px; + font-weight: 800; + letter-spacing: 3px; + margin-top: 2px; + color: var(--accent); +} diff --git a/decks/files-deck-1/avatar-front.html b/decks/files-deck-1/avatar-front.html new file mode 100644 index 0000000..d4195e5 --- /dev/null +++ b/decks/files-deck-1/avatar-front.html @@ -0,0 +1,45 @@ + +
+ + +
+
+
+ + +
+ + + + +
{{card.cores}}
+
{{card.type}}
+ + +
AVATAR
+ + +
+ + {{card.[expansion-slots]}} + PORTS +
+ + +
FILES-TCG · SD01
+
{{#if (eq card.type "V")}}VIRUS{{/if}}{{#if (eq card.type "B")}}BUG{{/if}}{{#if (eq card.type "G")}}GLITCH{{/if}}{{#if (eq card.type "P")}}PATCH{{/if}}-CLASS UNIT
+ + +
+

{{card.name}}

+
{{card.description}}
+
+ +
diff --git a/decks/files-deck-1/card-back.css b/decks/files-deck-1/card-back.css new file mode 100644 index 0000000..083b017 --- /dev/null +++ b/decks/files-deck-1/card-back.css @@ -0,0 +1,169 @@ +/* ====================================================== + Card Back — shared FILES-TCG back face + Neutral steel chassis + four-type (V/B/G/P) emblem. + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05070a; + --accent: #8b949e; + --accent-dk: #3a3f47; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* ----- Chassis shell ----- */ +.back { + position: absolute; + inset: 20px; + box-sizing: border-box; + border-radius: 16px; + overflow: hidden; + background: radial-gradient(120% 90% at 50% 50%, #1a2029 0%, #0d1117 55%, #05070a 100%); + border: 3px solid #2a2f38; + box-shadow: + inset 0 0 80px rgba(0,0,0,0.7), + 0 0 0 2px rgba(0,0,0,0.6), + 0 10px 24px rgba(0,0,0,0.6); +} + +/* Circuit grid + diagonal traces */ +.grid { + position: absolute; + inset: 0; + pointer-events: none; + opacity: 0.5; + background-image: + linear-gradient(rgba(120,160,200,0.06) 1px, transparent 1px), + linear-gradient(90deg, rgba(120,160,200,0.06) 1px, transparent 1px), + repeating-linear-gradient(45deg, rgba(120,160,200,0.04) 0 2px, transparent 2px 38px); + background-size: 44px 44px, 44px 44px, auto; +} + +/* ----- Corner nodes (type-colored vias) ----- */ +.node { + position: absolute; + width: 22px; + height: 22px; + border-radius: 50%; + border: 3px solid #05070a; +} +.node.tl { top: 34px; left: 34px; background: #3fb950; box-shadow: 0 0 14px #3fb950; } /* V */ +.node.tr { top: 34px; right: 34px; background: #ff5c5c; box-shadow: 0 0 14px #ff5c5c; } /* B */ +.node.bl { bottom: 34px; left: 34px; background: #d264ff; box-shadow: 0 0 14px #d264ff; } /* G */ +.node.br { bottom: 34px; right: 34px; background: #4aa3ff; box-shadow: 0 0 14px #4aa3ff; } /* P */ + +/* ----- Inner double frame ----- */ +.frame { + position: absolute; + inset: 60px; + border: 2px solid #39414d; + border-radius: 12px; + box-shadow: inset 0 0 0 6px rgba(255,255,255,0.02), inset 0 0 40px rgba(0,0,0,0.5); + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + padding: 30px 0; +} +.edge-label { + font-size: 24px; + font-weight: 700; + letter-spacing: 10px; + text-indent: 10px; + color: #4d5866; + text-transform: uppercase; +} + +/* ----- Center crest ----- */ +.crest { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 34px; +} +.emblem-wrap { + position: relative; + width: 320px; + height: 320px; + display: flex; + align-items: center; + justify-content: center; +} +/* Rotated square split into four type-colored quadrants */ +.emblem { + position: absolute; + inset: 0; + transform: rotate(45deg); + border-radius: 34px; + background: conic-gradient( + #3fb950 0deg 90deg, /* V — green */ + #4aa3ff 90deg 180deg, /* P — blue */ + #d264ff 180deg 270deg, /* G — purple */ + #ff5c5c 270deg 360deg /* B — red */ + ); + border: 5px solid #05070a; + box-shadow: + 0 0 50px rgba(80,140,200,0.35), + inset 0 0 0 4px rgba(0,0,0,0.35); +} +/* Dark chip core */ +.emblem::after { + content: ""; + position: absolute; + inset: 96px; + border-radius: 50%; + background: radial-gradient(circle at 42% 38%, #1c232c 0%, #090c11 70%); + border: 5px solid #05070a; + box-shadow: inset 0 0 26px rgba(0,0,0,0.85), 0 0 12px rgba(0,0,0,0.6); +} +.glyph { + position: relative; + z-index: 2; + font-size: 92px; + font-weight: 800; + color: #e8f0f7; + text-shadow: 0 0 18px rgba(150,200,255,0.5), 0 3px 6px #000; + letter-spacing: -4px; +} + +/* ----- Wordmark ----- */ +.wordmark { + font-size: 76px; + font-weight: 800; + letter-spacing: 4px; + color: #eaf1f8; + text-shadow: 0 2px 6px #000; +} +.wordmark .dot { color: #6c7a8a; margin: 0 6px; } +.tagline { + font-size: 20px; + font-weight: 700; + letter-spacing: 8px; + text-indent: 8px; + color: #5a6675; + text-transform: uppercase; + margin-top: 64px; +} diff --git a/decks/files-deck-1/card-back.html b/decks/files-deck-1/card-back.html new file mode 100644 index 0000000..0fa2456 --- /dev/null +++ b/decks/files-deck-1/card-back.html @@ -0,0 +1,32 @@ + +
+
+
+
+ + + + + + + +
+ FILES-TCG + +
+
+
+
>_
+
+ +
Control. Deploy. Execute.
+
+ + FILES-TCG +
+
+
diff --git a/decks/files-deck-1/cards.csv b/decks/files-deck-1/cards.csv new file mode 100644 index 0000000..1ddb748 --- /dev/null +++ b/decks/files-deck-1/cards.csv @@ -0,0 +1,85 @@ +"Name","Count","Front Template","Back Template","RAM","Cores","Description","Type","Image","Expansion Slots" +"Carbon NanoBots","1","Avatar Front","Card Back",,"2","Nasty Bugs....","B","nanos-ascii-art","4" +"Corrupt Driver","1","Avatar Front","Card Back",,"3",,"V","driver-ascii-art","3" +"Pixelated Picture","1","Avatar Front","Card Back",,"3",,"G","pix","3" +"Beta Version 1.0","1","Avatar Front","Card Back",,"4",,"P",,"2" +"Code Zero","1","Avatar Front","Card Back",,"2",,"V",,"4" +"Data Leaker","1","Avatar Front","Card Back",,"3",,"G",,"3" +"Backup Machine","1","Avatar Front","Card Back",,"3",,"P","rubble-ascii-art","3" +"Broken Bits","1","Avatar Front","Card Back",,"4",,"B",,"2" +"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 -1 Core.","V",, +"Memory Parasite","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server have -1 RAM available for Executions.","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 1 less RAM.","V",, +"Resource Leech","1","Program Front","Card Back","5",,"Whenever an enemy Avatar is destroyed while attacking this Server, gain 2 RAM.","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",, +"Payload Injector","1","Program Front","Card Back","6",,"The first Execution you play targeting this Server each turn costs 1 less RAM.","V",, +"Persistent Infection","1","Program Front","Card Back","6",,"If this Server stops being under your control, keep this Program installed here; its effect now applies to every Avatar at that Server regardless of controller.","V",, +"Infinite Loop","1","Program Front","Card Back","5",,"The first enemy Avatar to attack this Server each turn is caught in a loop: if it survives the battle, it must immediately repeat its attack once. Gain 1 RAM.","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",, +"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.","B",, +"Memory Leak","1","Program Front","Card Back","6",,"At the start of any combat at this Server, the attacking Avatar loses 1 RAM for each Hardware installed on it.","B",, +"Null Pointer","1","Program Front","Card Back","5",,"Once per turn, when an enemy Execution would resolve at this Server, resolve the game's uncertainty mechanic. On success, it does nothing.","B",, +"Deadlock","1","Program Front","Card Back","4",,"Neither Avatar in a combat that takes place at this Server may retreat until that combat resolves.","B",, +"Overflow Error","1","Program Front","Card Back","5",,"When an enemy Avatar is destroyed while attacking this Server, destroy or disable one Hardware or Program that Avatar's controller has in play.","B",, +"Undefined Behavior","1","Program Front","Card Back","8",,"Once per turn, copy the localized effect of another Program on this Server. Then disable this Program until your next turn.","B",, +"Packet Loss","1","Program Front","Card Back","6",,"When an enemy successfully breaches this Server, its controller discards a card at random.","G",, +"Desynchronization","1","Program Front","Card Back","5",,"Enemy Avatars attacking this Server cannot use their Hardware's ""once per turn"" abilities during that combat.","G",, +"Visual Artifact","1","Program Front","Card Back","5",,"The first attack made against an Avatar you control at this Server each turn suffers -1 Core.","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",, +"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 this Server.","G",, +"Fragmentation","1","Program Front","Card Back","6",,"Executions your opponents play targeting this Server cost +1 RAM.","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",, +"Hotfix","1","Program Front","Card Back","7",,"The first Program on this Server that would be destroyed each turn is instead disabled until your next turn.","P",, +"Error Correction","1","Program Front","Card Back","5",,"At the beginning of your turn, remove one negative counter or status from each Avatar you control at this Server.","P",, +"Garbage Collection","1","Program Front","Card Back","6",,"Once per turn, sacrifice one Program installed on this Server to recover its printed RAM value.","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",, +"Rollback Routine","1","Program Front","Card Back","4",,"Once per turn, undo the most recent temporary stat reduction applied to an Avatar you control at this Server.","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 1 less RAM.","P",, +"RAM Expansion","1","Hardware Front","Card Back","5",,"Avatar gains +2 RAM capacity.",,, +"Additional Core","1","Hardware Front","Card Back","5",,"Avatar gains +1 Core.",,, +"Overclocked CPU","1","Hardware Front","Card Back","6",,"Avatar gains +2 Cores during combat, but one installed Program becomes disabled afterward.",,, +"Solid-State Cache","1","Hardware Front","Card Back","6",,"The first Program installed on this Avatar each turn costs 1 less RAM.",,, +"Redundant Power Supply","1","Hardware Front","Card Back","8",,"The first time this Avatar would be destroyed, destroy this Hardware instead and leave the Avatar active.",,, +"Network Interface Upgrade","1","Hardware Front","Card Back","4",,"Moving between adjacent Servers costs 1 less resource or may occur once per turn for free.",,, +"Dedicated GPU","1","Hardware Front","Card Back","6",,"Executions performed by this Avatar receive +1 effectiveness or combat strength.",,, +"ECC Memory","1","Hardware Front","Card Back","5",,"Opponents cannot place Bug counters or Bug status effects on this Avatar.",,, +"Cooling System","1","Hardware Front","Card Back","6",,"Prevent penalties caused by Overclocking Hardware or allow one Hardware to activate twice per turn.",,, +"RAID Array","1","Hardware Front","Card Back","5",,"When a Program on this Avatar is destroyed, resolve the game's uncertainty mechanic. On success, return it to your hand.",,, +"Packet Accelerator","1","Hardware Front","Card Back","4",,"This Avatar acts first when it initiates combat.",,, +"Firewall Appliance","1","Hardware Front","Card Back","6",,"The first hostile Program or Execution targeting this Avatar each turn costs the opponent +1 RAM.",,, +"Hardware Sandbox","1","Hardware Front","Card Back","7",,"Choose one Program installed on this Avatar. It cannot be targeted by opponents.",,, +"Diagnostic Module","1","Hardware Front","Card Back","4",,"Look at one facedown or hidden card associated with an opposing Avatar or Server once per turn.",,, +"Hot-Swap Bay","1","Hardware Front","Card Back","6",,"Once per turn, return one Hardware to your hand and install another Hardware from your hand, paying the difference in cost.",,, +"Quantum Coprocessor","1","Hardware Front","Card Back","9",,"Once per turn when this Avatar uses an Execution, you may copy that Execution's effect with a different legal target, then disable this Hardware until your next turn.",,, +"High Efficiency RAM Server","1","Server Front","Card Back",,,"Add additional 4 RAM to resource total",,, +"MultiCore Server","1","Server Front","Card Back",,,"Add 2 Cores to any Avatars",,, +"Cluster Server","1","Server Front","Card Back",,,"Up to 2 Avatars can defend this Server",,, +"Power Server","1","Server Front","Card Back",,,"Add additional 4 RAM to resource total",,, +"Backup Server","1","Server Front","Card Back",,,"Duplicate Avatar based at this Server",,, +"Server Farm","1","Server Front","Card Back",,,"Add 4 RAM to resource total and 2 Cores to any Avatar",,, +"Upgraded Hardware","1","Server Front","Card Back",,,"Hardware upgrades cost 2 less RAM to install",,, +"Network Throttle","1","Server Front","Card Back",,,"Firewalls cost 1 less RAM to install",,, +"Cloud Compute","1","Server Front","Card Back",,,"Add 4 Cores to any Avatars",,, +"Duplicate Server","1","Server Front","Card Back",,,"Copy one adjacent Server ability",,, +"Pingable Server","1","Server Front","Card Back",,,"Up to 2 Avatars can defend this Server",,, +"Protected Server","1","Server Front","Card Back",,,"Add 2 RAM if defending this Server",,, +"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",,, +"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: Sabotage","1","Execution Front","Card Back","7",,"Destroy or disable one Hardware on an enemy Avatar in combat at the target Server.",,, +"Execute: Kill Process","1","Execution Front","Card Back","5",,"Disable one Program installed on the target Server until its controller's next turn.",,, +"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 this turn.",,, +"Execute: Fork","1","Execution Front","Card Back","7",,"Copy the localized effect of one Program installed on the target Server until end of turn.",,, +"Execute: Ping Sweep","1","Execution Front","Card Back","4",,"Look at all Programs and Hardware attached to the target Server and to every Avatar based at or attacking it, then draw a card.",,, +"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: Override","1","Execution Front","Card Back","5",,"Choose one enemy Program installed on the target Server. Ignore its text until the end of turn.",,, +"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: Rollback","1","Execution Front","Card Back","4",,"Return one Program or Hardware installed at the target Server this turn to its owner's hand.",,, +"Execute: Root Access","1","Execution Front","Card Back","4",,"Until end of turn, your Programs and Executions at the target Server may target protected Programs and Hardware as though they were unprotected.",,, +"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 turn.",,, +"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 turn.",,, +"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 turn.",,, +"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: 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 turn.",,, +"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: 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.",,, +"Turn Sequence","1","Turn Order Front","Card Back",,,"The phases of a single player's turn, in order. Repeat each turn.",,, \ No newline at end of file diff --git a/decks/files-deck-1/execution-front.css b/decks/files-deck-1/execution-front.css new file mode 100644 index 0000000..5c207bd --- /dev/null +++ b/decks/files-deck-1/execution-front.css @@ -0,0 +1,220 @@ +/* ====================================================== + Execution card — command-line terminal + Signature accent: amber (distinct from the other cards). + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05060a; + --accent: #ffb02e; + --accent-dk: #7a4d00; + --screen: #f6ecd8; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* ----- Terminal screen shell ----- */ +.terminal { + position: absolute; + inset: 20px; + box-sizing: border-box; + border-radius: 16px; + padding: 0 0 24px; + color: var(--screen); + background: radial-gradient(120% 90% at 50% 0%, #14120a 0%, #0a0905 60%, #050403 100%); + box-shadow: + inset 0 0 70px rgba(0,0,0,0.7), + inset 0 0 0 2px rgba(255,176,46,0.08), + 0 0 0 2px rgba(0,0,0,0.6), + 0 10px 24px rgba(0,0,0,0.6); + overflow: hidden; +} + +/* CRT scanline + phosphor glow overlay */ +.scanlines { + position: absolute; + inset: 0; + z-index: 4; + pointer-events: none; + border-radius: 16px; + background: + repeating-linear-gradient(0deg, rgba(0,0,0,0.20) 0 2px, transparent 2px 4px), + radial-gradient(120% 80% at 50% 40%, rgba(255,176,46,0.06) 0%, transparent 70%); +} + +/* ----- Terminal top bar ----- */ +.term-bar { + position: relative; + z-index: 2; + display: flex; + align-items: center; + gap: 14px; + height: 82px; + padding: 0 20px; + background: linear-gradient(180deg, rgba(255,176,46,0.10) 0%, rgba(0,0,0,0) 100%); + border-bottom: 2px solid var(--accent-dk); +} +.title { + flex: 1; + font-size: 30px; + font-weight: 800; + letter-spacing: 0.5px; + text-transform: uppercase; + color: #fff6e6; + text-shadow: 0 0 12px rgba(255,176,46,0.5), 0 2px 4px #000; + line-height: 1.02; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.ram-chip { + flex: none; + min-width: 92px; + height: 58px; + padding: 0 14px; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 8px; + border-radius: 8px; + color: #fff; + background: #0a0805; + border: 3px solid var(--accent); + box-shadow: inset 0 0 10px rgba(0,0,0,0.6); +} +.ram-value { + font-size: 38px; + font-weight: 800; + line-height: 1; + text-shadow: 0 2px 3px rgba(0,0,0,0.7); +} +.ram-label { + font-size: 19px; + font-weight: 700; + letter-spacing: 2px; + color: var(--accent); +} + +/* ----- Command line ----- */ +.cmdline { + position: relative; + z-index: 2; + margin: 20px 24px 0; + font-size: 24px; + font-weight: 700; + letter-spacing: 1px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.cmdline .user { color: var(--accent); } +.cmdline .punc { color: #8a8072; margin: 0 2px; } +.cmdline .cwd { color: #cbb98f; } +.cmdline .cmd { color: #fff6e6; margin-left: 10px; } + +/* ----- Output viewport (art) ----- */ +.viewport { + position: relative; + z-index: 2; + margin: 18px 24px 0; + height: 500px; + border-radius: 10px; + overflow: hidden; + background: #020202; + border: 4px solid var(--accent-dk); + box-shadow: inset 0 0 0 3px rgba(0,0,0,0.6), inset 0 0 0 4px rgba(255,176,46,0.15), 0 0 18px rgba(0,0,0,0.6); +} +.art { + width: 100%; + height: 100%; + display: block; + image-rendering: pixelated; + background-color: #020202; + background-image: url({{index assets card.image}}); + background-position: center; + background-size: cover; + background-repeat: no-repeat; +} + +/* ----- stdout / description ----- */ +.stdout { + position: relative; + z-index: 2; + margin: 20px 24px 0; + min-height: 210px; + padding: 16px 18px; + border-radius: 10px; + background: rgba(0,0,0,0.45); + border: 2px dashed var(--accent-dk); +} +.stdout-label { + font-size: 20px; + font-weight: 800; + letter-spacing: 2px; + color: var(--accent); +} +.description { + margin: 8px 0 0; + font-size: 23px; + line-height: 1.4; + color: #fbf3e3; +} +.cursor { + display: inline-block; + width: 16px; + height: 26px; + margin-top: 6px; + vertical-align: text-bottom; + background: var(--accent); + box-shadow: 0 0 10px var(--accent); +} + +/* ----- Status bar footer ----- */ +.statusbar { + position: absolute; + left: 24px; + right: 24px; + bottom: 18px; + z-index: 2; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: #8a8072; +} +.statusbar .target { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--accent); +} +.statusbar .target::before { + content: ""; + width: 14px; + height: 14px; + border-radius: 50%; + background: var(--accent); + box-shadow: 0 0 8px var(--accent); +} diff --git a/decks/files-deck-1/execution-front.html b/decks/files-deck-1/execution-front.html new file mode 100644 index 0000000..eb677d3 --- /dev/null +++ b/decks/files-deck-1/execution-front.html @@ -0,0 +1,47 @@ + +
+
+
+
+ + +
+ {{card.name}} + + {{card.ram}} + RAM + +
+ + +
+ root@files:~$ + sudo execute --now +
+ + +
+
+
+ + +
+ [stdout] +

{{card.description}}

+ +
+ + +
+ TARGET: SERVER + FILES-TCG · EXECUTION +
+ +
+
diff --git a/decks/files-deck-1/hardware-front.css b/decks/files-deck-1/hardware-front.css new file mode 100644 index 0000000..a7b4d0c --- /dev/null +++ b/decks/files-deck-1/hardware-front.css @@ -0,0 +1,326 @@ +/* ====================================================== + Hardware card — expansion module + Same chassis as Program/Execution (neon outline, header, + viewport, console, status bar). Hardware identity = gold + contacts: DIP-chip RAM cost, PCB traces, edge connector. + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05070a; + --accent: #ffd24a; + --accent-dk: #8a6a1a; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* ----- Module shell (gunmetal board) ----- */ +.module { + position: absolute; + inset: 20px; + box-sizing: border-box; + border-radius: 16px; + color: #f3efe4; + background: linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%); + box-shadow: + inset 0 0 60px rgba(0,0,0,0.55), + 0 0 0 2px rgba(0,0,0,0.6), + 0 10px 24px rgba(0,0,0,0.6); + overflow: hidden; +} + +/* Faint PCB traces (hardware's texture, like the CRT scanlines on Executions) */ +.traces { + position: absolute; + inset: 0; + pointer-events: none; + opacity: 0.6; + background-image: + linear-gradient(rgba(255,210,74,0.05) 1px, transparent 1px), + linear-gradient(90deg, rgba(255,210,74,0.05) 1px, transparent 1px), + repeating-linear-gradient(45deg, rgba(255,210,74,0.035) 0 2px, transparent 2px 38px); + background-size: 44px 44px, 44px 44px, auto; +} + +/* ----- Heat-spreader header ----- */ +.spreader { + position: relative; + z-index: 2; + display: flex; + align-items: center; + gap: 16px; + height: 82px; + padding: 0 20px; + background: + repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 9px), + linear-gradient(180deg, #1d2127 0%, #111418 60%, #0b0d10 100%); + border-bottom: 2px solid var(--accent-dk); + box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -10px 18px rgba(0,0,0,0.35); +} + +/* HW glyph (mirrors the Avatar type chip) */ +.hw-chip { + flex: none; + width: 64px; + height: 56px; + display: flex; + align-items: center; + justify-content: center; + font-size: 26px; + font-weight: 800; + letter-spacing: 1px; + color: #05070a; + clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); + background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%); +} + +.name { + flex: 1; + font-size: 32px; + font-weight: 800; + letter-spacing: 1px; + text-transform: uppercase; + line-height: 1.02; + color: #fff8e6; + text-shadow: 0 0 12px rgba(255,210,74,0.35), 0 2px 4px #000; + /* long names wrap to a second line instead of truncating */ + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +/* ----- RAM cost as a DIP chip (mirrors the Avatar core chip) ----- */ +.ram-ic { + position: relative; + flex: none; + min-width: 108px; + height: 56px; + box-sizing: border-box; + padding: 0 14px; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 8px; + border-radius: 6px; + color: #fff; + background: + radial-gradient(circle at 11px 11px, #5a5e66 0 3px, transparent 4px), /* pin-1 dot */ + linear-gradient(160deg, #2a2f36 0%, #0e1115 100%); + border: 2px solid var(--accent-dk); + box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 0 10px rgba(0,0,0,0.75); +} +/* gold pins along the top and bottom edges */ +.ram-ic::before, +.ram-ic::after { + content: ""; + position: absolute; + left: 10px; + right: 10px; + height: 9px; + background-image: linear-gradient(90deg, + var(--accent-dk) 0 1px, var(--accent) 1px 5px, var(--accent-dk) 5px 6px, transparent 6px); + background-size: 14px 100%; + background-repeat: space; +} +.ram-ic::before { top: -11px; } +.ram-ic::after { bottom: -11px; } +.ram-value { + font-size: 38px; + font-weight: 800; + line-height: 1; + text-shadow: 0 2px 3px rgba(0,0,0,0.7); +} +.ram-label { + font-size: 19px; + font-weight: 700; + letter-spacing: 2px; + color: var(--accent); +} + +/* ----- Spec strip: silkscreen label + status LEDs ----- */ +.spec-strip { + position: relative; + z-index: 2; + display: flex; + align-items: center; + justify-content: space-between; + margin: 20px 24px 0; + padding: 12px 18px; + border-radius: 10px; + background: rgba(0,0,0,0.35); + border: 2px solid var(--accent-dk); +} +.silk { + font-size: 22px; + font-weight: 700; + letter-spacing: 4px; + color: var(--accent); +} +.leds { display: flex; gap: 20px; } +.led { + display: inline-flex; + align-items: center; + gap: 8px; + font-size: 18px; + font-weight: 800; + letter-spacing: 2px; + color: #9a9384; +} +.led i { + width: 14px; + height: 14px; + border-radius: 50%; + background: var(--accent); + box-shadow: 0 0 8px var(--accent), inset 0 0 3px rgba(0,0,0,0.4); +} +.led.dim i { + background: var(--accent-dk); + box-shadow: inset 0 0 3px rgba(0,0,0,0.6); +} + +/* ----- Component bay (art) ----- */ +.bay { + position: relative; + z-index: 2; + margin: 20px 24px 0; + height: 494px; + border-radius: 10px; + overflow: hidden; + border: 4px solid var(--accent-dk); + background-color: #07090c; + /* empty-bay fallback: faint traces + vias, hidden once art is set */ + background-image: + radial-gradient(circle, rgba(255,210,74,0.16) 0 3px, transparent 4px), + linear-gradient(rgba(255,210,74,0.05) 2px, transparent 2px), + linear-gradient(90deg, rgba(255,210,74,0.05) 2px, transparent 2px); + background-size: 66px 66px; + background-position: -32px -32px, 0 0, 0 0; + box-shadow: inset 0 0 0 3px rgba(0,0,0,0.6), 0 0 18px rgba(0,0,0,0.6); +} +.art { + position: absolute; + inset: 0; + image-rendering: pixelated; + background-image: url({{index assets card.image}}); + background-position: center; + background-size: cover; + background-repeat: no-repeat; +} +/* gold corner brackets framing the component */ +.brackets { + position: absolute; + inset: 14px; + pointer-events: none; + --b: linear-gradient(var(--accent), var(--accent)); + background: + var(--b) top left / 36px 3px no-repeat, + var(--b) top left / 3px 36px no-repeat, + var(--b) top right / 36px 3px no-repeat, + var(--b) top right / 3px 36px no-repeat, + var(--b) bottom left / 36px 3px no-repeat, + var(--b) bottom left / 3px 36px no-repeat, + var(--b) bottom right / 36px 3px no-repeat, + var(--b) bottom right / 3px 36px no-repeat; + filter: drop-shadow(0 0 6px var(--accent)); +} + +/* ----- Datasheet / description ----- */ +.spec { + position: relative; + z-index: 2; + margin: 20px 24px 0; + min-height: 200px; + box-sizing: border-box; + padding: 16px 18px; + border-radius: 10px; + background: rgba(0,0,0,0.4); + border: 2px dashed var(--accent-dk); +} +.spec-label { + color: var(--accent); + font-weight: 800; + font-size: 24px; +} +.description { + margin: 6px 0 0; + font-size: 23px; + line-height: 1.4; + color: #f6f1e4; +} + +/* ----- Status bar footer ----- */ +.statusbar { + position: absolute; + left: 24px; + right: 24px; + bottom: 50px; + z-index: 2; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: #8f8a7e; +} +.statusbar .slot { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--accent); +} +.statusbar .slot::before { + /* square solder pad instead of the round status dot */ + content: ""; + width: 14px; + height: 14px; + border-radius: 2px; + background: var(--accent); + box-shadow: 0 0 8px var(--accent); +} + +/* ----- Gold edge connector (plugs into an Avatar port) ----- */ +.edge-connector { + position: absolute; + left: 56px; + right: 56px; + bottom: 0; + height: 24px; + z-index: 2; + border-top: 2px solid var(--accent-dk); + background: + repeating-linear-gradient(90deg, transparent 0 16px, #15181c 16px 24px), + linear-gradient(180deg, #fbe7a1 0%, var(--accent) 35%, var(--accent-dk) 100%); + box-shadow: 0 0 12px rgba(255,210,74,0.25); +} +/* key notch */ +.edge-connector::after { + content: ""; + position: absolute; + left: 30%; + top: -2px; + bottom: 0; + width: 22px; + background: #05070a; +} diff --git a/decks/files-deck-1/hardware-front.html b/decks/files-deck-1/hardware-front.html new file mode 100644 index 0000000..9dc00b9 --- /dev/null +++ b/decks/files-deck-1/hardware-front.html @@ -0,0 +1,54 @@ + +
+
+
+
+ + +
+ HW + {{card.name}} + + {{card.ram}} + RAM + +
+ + +
+ EXPANSION MODULE + + PWR + ACT + +
+ + +
+
+
+
+ + +
+ spec> +

{{card.description}}

+
+ + +
+ INSTALLS ON AVATAR + FILES-TCG · HARDWARE +
+ + +
+ +
+
diff --git a/decks/files-deck-1/program-front.css b/decks/files-deck-1/program-front.css new file mode 100644 index 0000000..8619c85 --- /dev/null +++ b/decks/files-deck-1/program-front.css @@ -0,0 +1,239 @@ +/* ====================================================== + Program card — software / terminal-window + Accent color driven by Type (V/B/G/P), matching Avatars. + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05070a; + --accent: #8b949e; + --accent-dk: #3a3f47; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* Type-driven accent palette (shared with Avatar cards) */ +.type-v { --accent: #3fb950; --accent-dk: #176b2c; } /* Virus */ +.type-b { --accent: #ff5c5c; --accent-dk: #a11a1a; } /* Bug */ +.type-g { --accent: #d264ff; --accent-dk: #7a1fb0; } /* Glitch */ +.type-p { --accent: #4aa3ff; --accent-dk: #0b57c9; } /* Patch */ + +/* ----- Application window shell ----- */ +.app { + position: absolute; + inset: 20px; + box-sizing: border-box; + border-radius: 16px; + padding: 0 0 24px; + color: #e6edf3; + background: linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%); + box-shadow: + inset 0 0 60px rgba(0,0,0,0.55), + 0 0 0 2px rgba(0,0,0,0.6), + 0 10px 24px rgba(0,0,0,0.6); + overflow: hidden; +} + +/* ----- Window title bar ----- */ +.titlebar { + position: relative; + display: flex; + align-items: center; + gap: 16px; + height: 82px; + padding: 0 20px; + background: linear-gradient(180deg, #12161c 0%, #0a0d11 100%); + border-bottom: 2px solid var(--accent-dk); + box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); +} +.win-dots { display: flex; gap: 12px; flex: none; } +.win-dots i { + width: 20px; + height: 20px; + border-radius: 50%; + background: #2a2f36; + box-shadow: inset 0 0 3px rgba(0,0,0,0.7); +} +.win-dots i:first-child { + background: var(--accent); + box-shadow: 0 0 10px var(--accent), inset 0 0 3px rgba(0,0,0,0.4); +} +.app-name { + flex: 1; + font-size: 36px; + font-weight: 800; + letter-spacing: 1px; + text-transform: uppercase; + color: #f2f7fb; + text-shadow: 0 2px 4px #000; + line-height: 1.02; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.type-badge { + flex: none; + width: 60px; + height: 60px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 12px; + font-size: 34px; + font-weight: 800; + color: #05070a; + background: var(--accent); + border: 3px solid #05070a; + box-shadow: 0 0 16px var(--accent); +} + +/* ----- Toolbar: exec path + RAM chip ----- */ +.toolbar { + position: relative; + display: flex; + align-items: center; + gap: 16px; + margin: 22px 24px 0; + padding: 14px 18px; + border-radius: 10px; + background: rgba(0,0,0,0.35); + border: 2px solid var(--accent-dk); +} +.path { + flex: 1; + font-size: 24px; + font-weight: 700; + letter-spacing: 1px; + color: var(--accent); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.ram-chip { + flex: none; + min-width: 96px; + height: 60px; + padding: 0 16px; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 10px; + border-radius: 8px; + color: #fff; + background: #0a0f14; + border: 3px solid var(--accent); + box-shadow: inset 0 0 10px rgba(0,0,0,0.6); +} +.ram-value { + font-size: 40px; + font-weight: 800; + line-height: 1; + text-shadow: 0 2px 3px rgba(0,0,0,0.7); +} +.ram-label { + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: var(--accent); +} + +/* ----- Art viewport ----- */ +.viewport { + position: relative; + margin: 22px 24px 0; + height: 500px; + border-radius: 10px; + overflow: hidden; + background: #020405; + border: 4px solid var(--accent-dk); + box-shadow: inset 0 0 0 3px rgba(0,0,0,0.6), 0 0 18px rgba(0,0,0,0.6); +} +.art { + width: 100%; + height: 100%; + display: block; + image-rendering: pixelated; + background-color: #020405; + background-image: url({{index assets card.image}}); + background-position: center; + background-size: cover; + background-repeat: no-repeat; +} +.scan { + position: absolute; + inset: 0; + pointer-events: none; + background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 2px, transparent 2px 4px); +} + +/* ----- Console output / description ----- */ +.console { + position: relative; + margin: 22px 24px 0; + min-height: 200px; + padding: 16px 18px; + border-radius: 10px; + background: rgba(0,0,0,0.4); + border: 2px dashed var(--accent-dk); +} +.console .prompt { + color: var(--accent); + font-weight: 800; + font-size: 24px; + margin-right: 8px; +} +.description { + margin: 6px 0 0; + font-size: 23px; + line-height: 1.4; + color: #eef5fb; +} + +/* ----- Status bar footer ----- */ +.statusbar { + position: absolute; + left: 24px; + right: 24px; + bottom: 18px; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: #8a9099; +} +.statusbar .run { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--accent); +} +.statusbar .run::before { + content: ""; + width: 14px; + height: 14px; + border-radius: 50%; + background: var(--accent); + box-shadow: 0 0 8px var(--accent); +} diff --git a/decks/files-deck-1/program-front.html b/decks/files-deck-1/program-front.html new file mode 100644 index 0000000..13f8ba9 --- /dev/null +++ b/decks/files-deck-1/program-front.html @@ -0,0 +1,47 @@ + +
+
+
+ + +
+ + {{card.name}} + {{card.type}} +
+ + +
+ > run /srv/{{lowercase card.type}}/program + + {{card.ram}} + RAM + +
+ + +
+
+
+
+ + +
+ proc> +

{{card.description}}

+
+ + +
+ RUNS ON SERVER + FILES-TCG · PROGRAM +
+ +
+
diff --git a/decks/files-deck-1/server-front.css b/decks/files-deck-1/server-front.css new file mode 100644 index 0000000..31a10b2 --- /dev/null +++ b/decks/files-deck-1/server-front.css @@ -0,0 +1,257 @@ +/* ====================================================== + 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; + width: 750px; + height: 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: #060a0f; + 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; +} +.scan { + position: absolute; + inset: 0; + z-index: 1; + pointer-events: none; + opacity: 0.5; + background: repeating-linear-gradient(0deg, rgba(0,0,0,0.16) 0 2px, transparent 2px 4px); +} + +/* ----- 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; +} diff --git a/decks/files-deck-1/server-front.html b/decks/files-deck-1/server-front.html new file mode 100644 index 0000000..d870156 --- /dev/null +++ b/decks/files-deck-1/server-front.html @@ -0,0 +1,37 @@ + +
+ + +
+
+
+ + +
+ + + + + +
SERVER
+
+ + ONLINE +
+ + +
FILES-TCG · SD01
+
SERVER NODE
+ + +
+

{{card.name}}

+
SYS > {{card.description}}
+
+ +
diff --git a/decks/files-deck-1/turn-order-front.css b/decks/files-deck-1/turn-order-front.css new file mode 100644 index 0000000..f6d55ee --- /dev/null +++ b/decks/files-deck-1/turn-order-front.css @@ -0,0 +1,192 @@ +/* ====================================================== + Turn Order card — turn-sequence reference + Signature accent: cyan (distinct from all other cards). + ====================================================== */ + +.card { + position: relative; + width: 750px; + height: 1050px; + box-sizing: border-box; + padding: 0; + overflow: hidden; + font-family: "Consolas", "Courier New", monospace; + background: #05080a; + --accent: #22d3ee; + --accent-dk: #0e6b78; + --screen: #e6fbff; + --chamfer: 22px; +} + +/* ----- Neon HUD outline (shared across card types) ----- */ +.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); +} + +/* ----- Terminal screen shell ----- */ +.terminal { + position: absolute; + inset: 20px; + box-sizing: border-box; + border-radius: 16px; + padding: 0 0 24px; + color: var(--screen); + background: radial-gradient(120% 90% at 50% 0%, #0a1c20 0%, #06090c 60%, #04070a 100%); + box-shadow: + inset 0 0 70px rgba(0,0,0,0.7), + inset 0 0 0 2px rgba(34,211,238,0.08), + 0 0 0 2px rgba(0,0,0,0.6), + 0 10px 24px rgba(0,0,0,0.6); + overflow: hidden; +} + +/* CRT scanline + phosphor glow overlay */ +.scanlines { + position: absolute; + inset: 0; + z-index: 4; + pointer-events: none; + border-radius: 16px; + background: + repeating-linear-gradient(0deg, rgba(0,0,0,0.20) 0 2px, transparent 2px 4px), + radial-gradient(120% 80% at 50% 30%, rgba(34,211,238,0.06) 0%, transparent 70%); +} + +/* ----- Header bar ----- */ +.term-bar { + position: relative; + z-index: 2; + display: flex; + align-items: center; + gap: 14px; + height: 90px; + padding: 0 24px; + background: linear-gradient(180deg, rgba(34,211,238,0.10) 0%, rgba(0,0,0,0) 100%); + border-bottom: 2px solid var(--accent-dk); +} +.title { + flex: 1; + font-size: 44px; + font-weight: 800; + letter-spacing: 1px; + text-transform: uppercase; + color: #f2feff; + text-shadow: 0 0 12px rgba(34,211,238,0.5), 0 2px 4px #000; + line-height: 1.02; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.badge { + flex: none; + padding: 8px 14px; + border-radius: 8px; + font-size: 22px; + font-weight: 800; + letter-spacing: 2px; + color: #05080a; + background: var(--accent); + box-shadow: 0 0 14px var(--accent); +} + +/* ----- Command line ----- */ +.cmdline { + position: relative; + z-index: 2; + margin: 20px 24px 0; + font-size: 24px; + font-weight: 700; + letter-spacing: 1px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.cmdline .user { color: var(--accent); } +.cmdline .punc { color: #6f8a90; margin: 0 2px; } +.cmdline .cwd { color: #a9d9e0; } +.cmdline .cmd { color: #f2feff; margin-left: 10px; } + +/* ----- Phase list ----- */ +.phases { + position: relative; + z-index: 2; + list-style: none; + margin: 26px 26px 0; + padding: 0; +} +.phases li { + position: relative; + display: flex; + align-items: center; + gap: 22px; + padding: 14px 18px; + min-height: 78px; + box-sizing: border-box; +} +.phases li + li { margin-top: 12px; } +/* flow connector between step badges */ +.phases li:not(:last-child)::before { + content: ""; + position: absolute; + left: 45px; /* center of the 54px badge (18px pad + 27) */ + top: 78px; + height: 24px; + width: 3px; + background: var(--accent-dk); + box-shadow: 0 0 6px rgba(34,211,238,0.4); +} +.num { + flex: none; + width: 54px; + height: 54px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 10px; + font-size: 30px; + font-weight: 800; + color: #05080a; + background: var(--accent); + border: 3px solid #05080a; + box-shadow: 0 0 14px rgba(34,211,238,0.55); +} +.step { + flex: 1; + font-size: 30px; + font-weight: 700; + line-height: 1.15; + color: #eafcff; + text-shadow: 0 1px 2px #000; +} + +/* ----- Status bar footer ----- */ +.statusbar { + position: absolute; + left: 24px; + right: 24px; + bottom: 18px; + z-index: 2; + display: flex; + justify-content: space-between; + align-items: center; + font-size: 20px; + font-weight: 700; + letter-spacing: 2px; + color: #6f8a90; +} +.statusbar .loop { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--accent); +} diff --git a/decks/files-deck-1/turn-order-front.html b/decks/files-deck-1/turn-order-front.html new file mode 100644 index 0000000..6b58c74 --- /dev/null +++ b/decks/files-deck-1/turn-order-front.html @@ -0,0 +1,42 @@ + +
+
+
+
+ + +
+ {{card.name}} + SYS +
+ + +
+ turn@files: + run --phases 1..7 +
+ + +
    +
  1. 1Draw Card
  2. +
  3. 2Place Avatars
  4. +
  5. 3Play Cards from Hand
  6. +
  7. 4Attack
  8. +
  9. 5Resolve Attack, Movement & Server Placement
  10. +
  11. 6Play Additional Cards from Hand
  12. +
  13. 7Pass Turn
  14. +
+ + +
+ ↺ REPEAT EACH TURN + FILES-TCG · TURN ORDER +
+ +
+
diff --git a/notes.md b/notes.md new file mode 100644 index 0000000..7b1029e --- /dev/null +++ b/notes.md @@ -0,0 +1,13 @@ +# Files TCG Notes + +## Playing field + +## Turn + +1. Draw Card +2. Place Avatars on controlled servers +3. Play cards from hand +4. Attack unowned servers or enemy owned servers +5. Resolve Abilities +6. Play Cards +7. Pass to player 2