File size: 9,346 Bytes
9fca766
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
# SCRYPT card pool โ€” terminal-flavored creatures.
# Costs: {type: free} | {type: mem, amount: N} | {type: dumps, amount: N}
# Sigils must exist in engine/cards.py KNOWN_SIGILS.
# art: up to 3 lines, 9 columns; drawn inside the card frame.

cards:
  - id: bit
    name: Bit
    power: 0
    health: 1
    cost: {type: free}
    flavor: "A humble bit. It costs nothing, and it is worth exactly that."
    art: |2
       โ”Œโ”€โ”
       โ”‚1โ”‚
       โ””โ”€โ”˜

  - id: orphan-thread
    name: Orphan Thread
    power: 0
    health: 2
    cost: {type: free}
    flavor: "Nobody joined it. It waits anyway. It will wait for you too."
    art: |2
        โ•ท
        โ”œโ”€โ”€x
        โ•ต

  - id: daemon
    name: Daemon
    power: 1
    health: 2
    cost: {type: mem, amount: 1}
    flavor: "It runs quietly in the background. It has always been running."
    art: |2
        ^ ^
       (o,o)
        )"(

  - id: firewall
    name: Firewall
    power: 1
    health: 2
    cost: {type: mem, amount: 1}
    sigils: [packet_filter]
    flavor: "Nothing gets over it. Not even the things that fly."
    art: |2
      โ–’โ–’โ–’โ–’โ–’โ–’โ–’
      โ–’โ–’โ–’โ–’โ–’โ–’โ–’
      โ–’โ–’โ–’โ–’โ–’โ–’โ–’

  - id: packet
    name: Packet
    power: 1
    health: 1
    cost: {type: mem, amount: 1}
    sigils: [tunneling]
    flavor: "It rides the wire, far above your defenses."
    art: |2
       โ”Œโ”„โ”„โ”„โ”
       โ”† 01โ”†ยป
       โ””โ”„โ”„โ”„โ”˜

  - id: oom-killer
    name: OOM Killer
    power: 3
    health: 2
    cost: {type: mem, amount: 2}
    flavor: "When memory runs short, it decides what deserves to live."
    art: |2
         โ”‚
       โ”€โ”€โ•ณโ”€โ”€
         โ”‚

  - id: fork-bomb
    name: Fork Bomb
    power: 1
    health: 1
    cost: {type: mem, amount: 1}
    sigils: [self_replicating]
    flavor: ":(){ :|:& };: โ€” it brings a friend. The friend brings a friend."
    art: |2
       :(){
        :|:&
       };:

  - id: segfault
    name: Segfault
    power: 1
    health: 1
    cost: {type: mem, amount: 2}
    sigils: [null_pointer]
    flavor: "One touch of the wrong address, and everything comes down."
    art: |2
       โ–šโ–˜ โ–—โ–ž
       โ–0x0โ–Œ
       โ–žโ–— โ–˜โ–š

  - id: tarpit
    name: Tarpit
    power: 0
    health: 3
    cost: {type: mem, amount: 1}
    sigils: [honeypot]
    flavor: "Connect, and wait. And wait. And wait."
    art: |2
       โ‰ˆโ‰ˆโ‰ˆโ‰ˆโ‰ˆ
       โ‰ˆ(_)โ‰ˆ
       โ‰ˆโ‰ˆโ‰ˆโ‰ˆโ‰ˆ

  - id: zombie-process
    name: Zombie Process
    power: 2
    health: 3
    cost: {type: dumps, amount: 4}
    flavor: "Killed long ago. Never reaped. It holds a grudge about that."
    art: |2
        [z]
        โ•ฑโ”‚โ•ฒ
       z   Z

  - id: garbage-collector
    name: Garbage Collector
    power: 0
    health: 3
    cost: {type: mem, amount: 1}
    sigils: [scavenger_loop]
    flavor: "It sweeps up the dead and keeps what it finds."
    art: |2
        โ”€โ”ฌโ”€
       โ”‚โ–‘โ–‘โ–‘โ”‚
       โ””โ”€โ”€โ”€โ”˜

  - id: sudo-token
    name: Sudo Token
    power: 0
    health: 1
    cost: {type: mem, amount: 1}
    sigils: [privileged]
    flavor: "Spend it, and for one shining moment you may do anything."
    art: |2
       โ”Œโ”€โ”€โ”
       โ”‚##โ”‚โ•o
       โ””โ”€โ”€โ”˜

  - id: watchdog
    name: Watchdog
    power: 0
    health: 1
    cost: {type: mem, amount: 1}
    sigils: [auto_restart]
    flavor: "Kill it. Go on. It will be back before you finish typing."
    art: |2
       /\โ”€/\
       (โ€ขแดฅโ€ข)
        โ”˜ โ””

  - id: kernel-panic
    name: Kernel Panic
    power: 4
    health: 6
    cost: {type: mem, amount: 3}
    flavor: "The system's final scream, given claws."
    art: |2
       โ–„โ–„โ–ˆโ–„โ–„
       โ–ˆโ–ˆ!โ–ˆโ–ˆ
       โ–€โ–ˆโ–€โ–ˆโ–€

  - id: root
    name: Root
    power: 7
    health: 7
    cost: {type: mem, amount: 4}
    flavor: "It can do anything. It owes you nothing."
    art: |2
          #
        โ•ฑ โ”‚ โ•ฒ
       โ•ฑโ•ฑ โ”‚ โ•ฒโ•ฒ

  # Foe-side creatures (the Warden's processes). Not draftable by players.
  - id: reaper
    name: Reaper
    power: 1
    health: 1
    cost: {type: free}
    draftable: false
    flavor: "It collects exit codes. Yours is pending."
    art: |2
        โ–„โ–„โ–„โ–„
       โ–€    โ–€โ––
            โ–

  - id: audit-daemon
    name: Audit Daemon
    power: 1
    health: 3
    cost: {type: free}
    flavor: "It saw what you did. It wrote it down."
    draftable: false
    art: |2
       โ•ญโ”€โ”€โ”€โ•ฎ
       โ”‚ โ— โ”‚
       โ•ฐโ”€โ”€โ”€โ•ฏ

  - id: kill-signal
    name: Kill Signal
    power: 2
    health: 1
    cost: {type: free}
    sigils: [tunneling]
    flavor: "SIGKILL cannot be caught, blocked, or ignored."
    draftable: false
    art: |2
          โ•ฑ
       โ”€โ”€โ•ฑโ”€โ”€
        โ•ฑ -9

  - id: cron-golem
    name: Cron Golem
    power: 3
    health: 5
    cost: {type: free}
    flavor: "At the appointed minute it rises. Check the schedule. Despair."
    draftable: false
    art: |2
        โ•ญโ”€โ•ฎ
        โ”‚โ”ผโ”‚
       โ–โ–ˆโ–ˆโ–ˆโ–Œ

  - id: multiplexer
    name: Multiplexer
    power: 2
    health: 3
    cost: {type: free}
    sigils: [forked]
    flavor: "One window, many panes. It hits everything beside you."
    draftable: false
    art: |2
       โ”Œโ”€โ”ฌโ”€โ”
       โ”‚ โ”‚ โ”‚
       โ””โ”€โ”ดโ”€โ”˜

  - id: init
    name: init
    power: 4
    health: 8
    cost: {type: free}
    flavor: "PID 1. The parent of everything. Orphans answer to it now."
    draftable: false
    art: |2
        โ–„โ–„โ–„
       โ–ˆ 1 โ–ˆ
        โ–€โ–€โ–€

# Full starting decks (the side pile of bits is separate and always there).
# Every deck carries free fodder so sacrifices never starve.
starter_decks:
  vanilla:
    name: "init"
    description: "Where every process begins. Flexible, honest, doomed."
    cards: [daemon, firewall, oom-killer, orphan-thread, orphan-thread,
            packet, tarpit, sudo-token]
  forkstorm:
    name: "fork()"
    description: "Multiply, sacrifice, repeat. The board is a petri dish."
    cards: [fork-bomb, fork-bomb, sudo-token, orphan-thread, orphan-thread,
            packet, segfault, daemon]
  graveyard:
    name: "core dump"
    description: "Your processes die and come back owing you favors."
    cards: [garbage-collector, zombie-process, watchdog, orphan-thread,
            daemon, tarpit, oom-killer, sudo-token]

encounters:
  # script[turn] -> plays entering the foe queue after that turn's attack.
  # Turn 0 and 1 resolve during setup (queue + first front row).
  first_blood:
    name: "PID 2"
    script:
      - []                                # turn 0: an empty board, a breath
      - [{lane: 1, card: reaper}]
      - [{lane: 2, card: reaper}]
      - [{lane: 0, card: audit-daemon}]
      - [{lane: 3, card: kill-signal}]
      - []
      - [{lane: 2, card: audit-daemon}]

  audit_sweep:
    name: "The Audit"
    script:
      - [{lane: 0, card: audit-daemon}]
      - [{lane: 2, card: reaper}]
      - [{lane: 1, card: kill-signal}]
      - [{lane: 3, card: audit-daemon}]
      - [{lane: 0, card: reaper}]
      - [{lane: 2, card: cron-golem}]
      - [{lane: 1, card: reaper}]
      - [{lane: 3, card: kill-signal}]

  swap_storm:
    name: "The Swap"
    script:
      - [{lane: 1, card: multiplexer}]
      - [{lane: 2, card: reaper}]
      - [{lane: 0, card: kill-signal}]
      - [{lane: 3, card: multiplexer}]
      - [{lane: 2, card: audit-daemon}]
      - [{lane: 1, card: kill-signal}]
      - [{lane: 0, card: cron-golem}]
      - [{lane: 2, card: kill-signal}]

  scheduled_doom:
    name: "Crontab"
    script:
      - [{lane: 1, card: reaper}, {lane: 2, card: audit-daemon}]
      - [{lane: 0, card: kill-signal}]
      - [{lane: 3, card: cron-golem}]
      - [{lane: 1, card: audit-daemon}]
      - [{lane: 2, card: kill-signal}]
      - [{lane: 0, card: audit-daemon}]
      - [{lane: 1, card: cron-golem}]
      - [{lane: 2, card: kill-signal}]

  init_zero:
    name: "PID 1"
    script:
      - [{lane: 1, card: audit-daemon}, {lane: 2, card: reaper}]
      - [{lane: 0, card: multiplexer}]
      - [{lane: 3, card: kill-signal}]
      - [{lane: 2, card: cron-golem}]
      - [{lane: 1, card: kill-signal}]
      - [{lane: 0, card: init}]
      - [{lane: 3, card: multiplexer}]
      - [{lane: 2, card: kill-signal}]

# Forks: the path splits and the Warden holds both doors open.
# bounty applies only if the player WINS the chosen fight.
#   {kind: cycles, amount: N} -> extra cycles banked
#   {kind: draft}             -> an extra card draft right after the fight
forks:
  crossroads_audit:
    prompt: "Two doors. Behind one, the auditor you expected. Behind the other, something hungrier."
    options:
      - encounter: audit_sweep
        label: "the audit"
        blurb: "the fight you were promised. fair, as fairness goes here."
      - encounter: swap_storm
        label: "the swap"
        blurb: "panes within panes. survivors loot the wreckage."
        bounty: {kind: draft}
  crossroads_final:
    prompt: "The last stretch. Choose your executioner."
    options:
      - encounter: scheduled_doom
        label: "the crontab"
        blurb: "death on a schedule you have already read."
      - encounter: init_zero
        label: "PID 1"
        blurb: "the parent of everything. bring everything."
        bounty: {kind: cycles, amount: 10}