mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-23 21:46:15 -04:00
Stats display
This commit is contained in:
parent
23798c4e58
commit
a328520191
8 changed files with 288 additions and 122 deletions
19
src/game.ts
19
src/game.ts
|
@ -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,
|
||||
}) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue