heroiclabs / nakama

Distributed server for social and realtime games and apps.
https://heroiclabs.com
Apache License 2.0
8.92k stars 1.09k forks source link

Dynamic Leaderboards #6

Closed novabyte closed 7 years ago

novabyte commented 7 years ago

Define leaderboards on-demand via the script runtime with optional reset schedules (daily/weekly/monthy/etc). Form hierarchies of leaderboards for league-style progression system. This depends on TTL support in cockroachdb.

novabyte commented 7 years ago

Some functionality we should offer with the leaderboards impl:

novabyte commented 7 years ago

Design update

This work is part of the 0.12.0 development:

These features depend on https://github.com/heroiclabs/nakama/issues/5:

These features are deferred for the future:

zyro commented 7 years ago

We can implement "arcade style" leaderboards through authoritative boards managed by the Lua runtime. Leaderboard entry owner IDs don't need to be user IDs so a Lua script can set them to a combination of user ID and a unique factor, resulting in multiple entries per user.

Rank calculations will still work as expected.

novabyte commented 7 years ago

Resolved in https://github.com/heroiclabs/nakama/commit/14cbcc78bed32d4a1fb4ba8e53584a7b6023b805.

Some final notes on dynamic leaderboards:

The documentation will cover all usage notes.

codedrunk commented 4 years ago
  • Leaderboards should be filterable by region (or country) and other properties.

@novabyte Hi. Has this been implemented?

FaisalZaheer commented 4 years ago

Are these features implemented ?

novabyte commented 4 years ago

@FaisalZaheer Yes, these features were all implemented. The feature was scoped down in Nakama 2.0 due to lack of use by game teams. Please ask questions on the community forums. Thanks 🙏