mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 04:26:14 -04:00
Build 29049575
This commit is contained in:
parent
e3e61b12b8
commit
395968bc52
16 changed files with 1735 additions and 1847 deletions
|
@ -28,7 +28,7 @@ export function newGameState(params: RunParams): GameState {
|
|||
|
||||
const perks = { ...makeEmptyPerksMap(upgrades), ...(params?.perks || {}) };
|
||||
|
||||
const gameState: GameState= {
|
||||
const gameState: GameState = {
|
||||
runLevels,
|
||||
currentLevel: 0,
|
||||
upgradesOfferedFor: -1,
|
||||
|
@ -101,10 +101,10 @@ export function newGameState(params: RunParams): GameState {
|
|||
autoCleanUses: 0,
|
||||
...defaultSounds(),
|
||||
|
||||
isAdventureMode:!!params?.adventure,
|
||||
adventurePath:'',
|
||||
seed:'Seed'+Math.random(),
|
||||
rerolls:0
|
||||
isAdventureMode: !!params?.adventure,
|
||||
adventurePath: "",
|
||||
seed: "Seed" + Math.random(),
|
||||
rerolls: 0,
|
||||
};
|
||||
resetBalls(gameState);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue