Stats display

This commit is contained in:
Renan LE CARO 2025-03-29 20:45:54 +01:00
parent 23798c4e58
commit a328520191
8 changed files with 288 additions and 122 deletions

View file

@ -160,11 +160,14 @@ setInterval(() => {
fitSize();
}, 1000);
export async function openShortRunUpgradesPicker(gameState: GameState) {
export async function openUpgradesPicker(gameState: GameState) {
const catchRate =
(gameState.score - gameState.levelStartScore) /
(gameState.levelSpawnedCoins || 1);
let repeats = 1;
let timeGain = "",
@ -983,10 +986,16 @@ restart(
(window.location.search.includes("stressTest") && {
level: "Bird",
perks: {
pierce: 1,
sapper: 1,
implosions: 3,
streak_shots:1
shocks:10,
multiball:6,
telekinesis:2,
ghost_coins:1,
pierce:4,
clairvoyant:3,
bigger_explosions:2,
sapper:2,
unbounded:1
},
levelsPerLoop: 2,
}) ||