Balancing

- New perk : addiction, reward faster gameplay
- Balancing : hot start effect doubled
- Balancing : you earn an extra perk when playing well, and a reroll when playing perfectly
- Balancing : telekinesis limited to level 1
This commit is contained in:
Renan LE CARO 2025-03-30 21:07:58 +02:00
parent 27a2cd686e
commit 7e316391d8
22 changed files with 799 additions and 897 deletions

View file

@ -62,6 +62,7 @@ export function newGameState(params: RunParams): GameState {
score: 0,
lastScoreIncrease: -1000,
lastExplosion: -1000,
lastBrickBroken: 0,
highScore: parseFloat(localStorage.getItem("breakout-3-hs") || "0"),
balls: [],
ballsColor: "white",
@ -111,6 +112,7 @@ export function newGameState(params: RunParams): GameState {
loop: 0,
baseCombo: 1,
levelsPerLoop: params?.levelsPerLoop ?? 7,
maxLoop: params?.maxLoop ?? 0,
};
resetBalls(gameState);