feat: New features (research, invest, gambling, new game+, trophies)

This commit is contained in:
gauvainboiche
2026-10-08 14:03:00 +02:00
parent 1caa4d92b9
commit fc0d5e3ba4
56 changed files with 4332 additions and 249 deletions
-7
View File
@@ -311,10 +311,3 @@ test('state survives a serialize / sanitize round trip', () => {
assert.equal(back.marketing, 3);
});
test('the full save of a late game state is small enough for cookies', () => {
const s = fresh();
s.funds = 123456789.123456;
for (const g of ctx.generators) s.generators[g.id] = 2500;
s.upgrades = ctx.upgrades.map((u) => u.id);
assert.ok(serializeState(s).length < 1500);
});