Competing for a higher rank is essential for a game play.
With Leaderboard, it only takes a simple integration to implement a ranking service.
![[그림 0 Leaderboard Merits]](http://static.toastoven.net/prod_leaderboardv2/newMerits_en_202203.png)
Following features are provided:
Following terms are used for Leaderboard.
| Term | Description |
|---|---|
| Leaderboard AppKey | One Leaderboard Appkey is issued for each project. |
| Factor | The unit of ranking purpose. Each factor is configured by cycle, update, or sorting. |
| Daily Ranking | Ranking cycle which is initialized at every specific time of the day. |
| Weekly Ranking | Ranking cycle which is initialized at every specific day and time of the week. |
| Monthly Ranking | Ranking cycle which is initialized at every specific day and time of the month. |
| Total Ranking | Ranking cycle which is not initialized. |
The Leadboard platform is physically structured as below:
![[그림 1 Leaderboard 물리적 구조]](http://static.toastoven.net/prod_leaderboardv2/overview_1.png)
The Leaderboard platform is logically structured as below:
![[그림 2 Leaderboard 논리적 구조]](http://static.toastoven.net/prod_leaderboardv2/overview_2.png)
Leaderboard is configured by factor. Depending on the setting, it can be differently applied.
Scores can be sorted in the ascending or descending order.
[Sort by Ascending Order]
The ascending order sorts scores from the lowest to the highest.
![[그림 3 오름차순 정렬]](http://static.toastoven.net/prod_leaderboardv2/overview_3.png)
[Sort by Descending Order]
The descending order sorts scores from the highest to the lowest.
![[그림 4 내림차순 정렬]](http://static.toastoven.net/prod_leaderboardv2/overview_4.png)
Scores can be updated by the highest, the latest, or the accumulated.
[Updating with the Highest Scores]
Updated when a newer score is higher than a previous one.
![[그림 5 최고 점수 업데이트]](http://static.toastoven.net/prod_leaderboardv2/overview_5.png)
[Updating with the Latest Scores]
Updated with new scores, regardless of existing scores (updated at all times).
![[그림 6 최근 점수 업데이트]](http://static.toastoven.net/prod_leaderboardv2/overview_6.png)
[Updating with the Accumulated Scores]
Updated with the combination of a new score and an existing one.
![[그림 7 누적 점수 업데이트]](http://static.toastoven.net/prod_leaderboardv2/overview_7.png)
The tie-breaking method may be set to prioritize the first or the latest-ranks by factor.
[Set Priorities for First Ranks ]
When there are a multiple number of ties, the first-registered user ranks the highest.
![[그림 8 최초 랭킹 획득자 우선순위]](http://static.toastoven.net/prod_leaderboardv2/overview_8.png)
[Set Priorities for Latest Ranks]
When there are a multiple number of ties, the latest-registered user ranks the highest.
![[그림 9 최근 랭킹 획득자 우선순위]](http://static.toastoven.net/prod_leaderboardv2/overview_9.png)
Initialization time of a factor can be configured.
The entire ranking is not initialized.
For the weekly ranking, specify a date of initialization; for the monthly ranking, specify a day of initialization.
The entire ranking is not initialized.
The maximum number of users to be registered for a factor: no more than 10 million.