Skip to content

Implement rarity stats for levels #21

@BitTim

Description

@BitTim

Each level should have two rarity stats. A global one, including all non-private Valolink accounts and a friends one, which only includes friend accounts.

The stats are calculated by getting the number of accounts that have unlocked the level and dividing it by the number of all accounts. The result is the percentage of accounts that have unlocked the level. The progress bar shown should display the inverted percentage (The more the progress bar is filled, the rarer the level is)

nUnlocked / nTotal = rarity
displayedRarity = 1 - rarity

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions