This commit is contained in:
Renan LE CARO 2025-04-06 15:38:30 +02:00
parent 2f51f83514
commit 42abc6bc01
25 changed files with 1514 additions and 1328 deletions

View file

@ -35,12 +35,6 @@ export const allLevels = rawLevelsList
.filter((l) => !l.name.startsWith("icon:"))
.map((l, li) => ({
...l,
threshold:
li < 8
? 0
: Math.round(
Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 5000) * li,
),
sortKey: ((Math.random() + 3) / 3.5) * l.bricksCount,
})) as Level[];