Typed existing game.ts

This commit is contained in:
Renan LE CARO 2025-03-07 11:34:11 +01:00
parent 3cb662bc92
commit 6850d3b652
6 changed files with 632 additions and 444 deletions

View file

@ -212,8 +212,8 @@ export const rawUpgrades = [
id: "compound_interest",
giftable: true,
name: "Compound interest",
max: 3,
help: (lvl) => `+${lvl} combo / brick broken, -${lvl} combo per coin lost`,
max: 1,
help: () => `+1 combo per brick broken, resets on coin lost`,
fullHelp: `Your combo will grow by one every time you break a brick, spawning more and more coin with every brick you break. Be sure however to catch every one of those coins
with your puck, as any lost coin will decrease your combo by one point. One your combo is above the minimum, the bottom of the play area will