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

View file

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