# Leaderboard Samples

## Player-type Leaderboard

[Leaderboards](/game-systems/leaderboards.md) 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](/the-basics/sdks.md#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="/files/AT3RTrcrG8sZOwXfFLNp" 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](/game-systems/leaderboards.md).

<figure><img src="/files/jUqP7ctdyXpqKnFXKGtk" alt=""><figcaption></figcaption></figure>

## Generic-type Leaderboard (Arcade Style)

[Leaderboards](/game-systems/leaderboards.md) 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](/the-basics/sdks.md#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="/files/WyfL61fjP9JtfnjTrnrk" 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](/game-systems/leaderboards.md).

<figure><img src="/files/Y7fl2ZxeGPYwsN3iP09w" alt=""><figcaption></figcaption></figure>

## Float Leaderboard

[Leaderboards](/game-systems/leaderboards.md) 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](/the-basics/sdks.md#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="/files/xCPwqKR1qljDf5FHQ1aa" 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](/game-systems/leaderboards.md).

<figure><img src="/files/ZWPBLaGjh6ptLHG4SXlV" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/the-basics/samples/leaderboard-samples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
