# Leaderboard Samples

## Player-type Leaderboard

[Leaderboards](https://docs.lootlocker.com/game-systems/leaderboards) are a popular game system in many different games. LootLocker supports two types of leaderboards: generic-type leaderboards and player-type leaderboards.

This sample can be found in our [SDK](https://docs.lootlocker.com/sdks#unity-sdk) under the name `2a - PlayerTypeLeaderboard`

This SDK sample demonstrates a player-type leaderboard in action where the leaderboard entry is directly connected to the player meaning that the player can only have one score per leaderboard. This examples also includes metadata where the device system language is used to indicate the country the player is playing in and attaching it to their entry.

### In-Engine

To submit a score, enter a score value and click `Upload Score`. You will then see a score appear in the `Top 10 players` menu.

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-dc303a3c6dc0b74b2fa75d943fc5af088153d808%2FPlayerTypeLeaderboard.png?alt=media" alt=""><figcaption></figcaption></figure>

### Web Console

To configure a player-type leaderboard, simply select `Player` when selecting the leaderboard type. You can find a full breakdown of all leaderboard settings in the [feature's documentation](https://docs.lootlocker.com/game-systems/leaderboards).

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-8af7e9a4f679bacca8d6629565dbc410e7dd84ca%2FPlayerLeaderboard_webConsole.png?alt=media" alt=""><figcaption></figcaption></figure>

## Generic-type Leaderboard (Arcade Style)

[Leaderboards](https://docs.lootlocker.com/game-systems/leaderboards) are a popular game system in many different games. LootLocker supports two types of leaderboards: generic-type leaderboards and player-type leaderboards.

This sample can be found in our [SDK](https://docs.lootlocker.com/sdks#unity-sdk) under the name `2b - GenericTypeLeaderboardArcadeStyle`

This SDK sample demonstrates a generic-type leaderboard in action where the leaderboard entry is not directly connected to the player. In this example this leaderboard type allows players to enter their name whenever they set a score, similar to how it would work in an arcade game. This results in the player being able to submit as many scores as they wish.

### In-Engine

To submit a score, enter a name and score and click `Upload Score`. You will then see a score appear in the `Top 10 players` menu.

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-d58211a2b36f2dc00938151eaaff82dc6bef9fab%2FgenericLeaderboardArcade.png?alt=media" alt=""><figcaption></figcaption></figure>

### Web Console

To configure a generic-type leaderboard, simply select `Generic` when selecting the leaderboard type. You can find a full breakdown of all leaderboard settings in the [feature's documentation](https://docs.lootlocker.com/game-systems/leaderboards).

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-d47c0ef9bf5df26f9c119e4c4d417044252d1b7a%2FGenericLeaderboard_webConsole.png?alt=media" alt=""><figcaption></figcaption></figure>

## Float Leaderboard

[Leaderboards](https://docs.lootlocker.com/game-systems/leaderboards) are a popular game system in many different games. LootLocker supports two types of leaderboards: generic-type leaderboards and player-type leaderboards.

This sample can be found in our [SDK](https://docs.lootlocker.com/sdks#unity-sdk) under the name `2c - FloatLeaderboard`

This sample demonstrates a float value being used as a score. The float has 4 decimal places. It is then converted to an integer by multiplying and dividing it with / by 1,000 when it's being submitted or retrieved.

### In-Engine

To submit a score, enter a name and score and click `Upload Score`. You will then see a score appear in the `Top 10 players` menu.

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-2aaeeaed90f0ddcfb43bee723ef7239398706417%2FfloatLeaderboard.png?alt=media" alt=""><figcaption></figcaption></figure>

### Web Console

To configure a generic-type leaderboard, simply select `Generic` when selecting the leaderboard type. You can find a full breakdown of all leaderboard settings in the [feature's documentation](https://docs.lootlocker.com/game-systems/leaderboards).

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-441b63acdb3945d4d10186e52b06092c71e4624a%2FfloatLEaderboard_webConsole.png?alt=media" alt=""><figcaption></figcaption></figure>
