# Make a leaderboard game friends try to beat

Make a leaderboard game with AI: players send their best score, time or distance to friends, who try to beat it. Requests to copy and what to test first.

Source: https://www.playdrop.ai/create/learn/leaderboard-games

## What a leaderboard game is

Every run ends with a score, a time or a distance, and your best is the number your friends have to beat. Think of a "beat my time" message after a lap: you send your best, and your friends keep trying until one of them does better.

## How friends play it on PlayDrop

- After a new personal best, the result screen offers **Challenge friends**. The player picks up to five friends, and each one gets a challenge card in their chat on PlayDrop.
- The card shows the player's name and best with **Accept challenge**. Once friends answer, it shows the standings: each player's best, with the leader on top.
- On the web, **Share challenge link** sends the challenge to anyone, even in a group chat. Whoever accepts becomes your friend and gets the challenge card; someone without an account signs up from the link.
- Friends can also start from your chat with them: **Play a game**, then **Challenge**. Challenges use the published version of your game, so [publish](https://www.playdrop.ai/create/learn/publishing) your latest change first.

## Ask for one in Studio

Name the number to beat: a score, a time or a distance. Copy one of these into Studio and change it to your idea:

```text
Make an endless runner through a neon city. My score is the distance I run, and after a new best I can challenge friends to beat it.
```

```text
Make a 60-second fruit slicing game for phones. My score is the number of fruits I slice, and friends get a card in our chat to try to beat my best.
```

**Make one**, at the end of this page, opens Studio with challenges already chosen for your request.

## Test it before you share it

1. Finish a run with a new best and check that **Challenge friends** appears on the result screen.
2. Send the challenge to yourself with **Share challenge link**, then open the link in a private window: you see what a friend sees.
3. Check that the number on the card is the best your result screen showed.
4. Answer from a second account and check the standings: the higher score, or the faster time, is on top.

## Related guides

- [Turn games](https://www.playdrop.ai/create/learn/turn-games): Make a turn-based game with AI that two friends play at their own pace, each move sent as a card in their chat. Requests to copy and what to test first.
- [Online party games](https://www.playdrop.ai/create/learn/party-games): Make an online party game with AI: two to four friends play live, each on their own device, and talk over voice chat. Requests to copy and what to test first.
- [Leaderboards](https://www.playdrop.ai/create/learn/leaderboards): Declare leaderboards in catalogue.json, submit scores with sdk.leaderboards and show top ranks and the player's neighbors. Score types, limits and update rules.
- [Sharing, friends and invites](https://www.playdrop.ai/create/learn/social): Share a game with an image or clip, read launch payloads, pick friends, send invite and challenge cards in PlayDrop Chat, and recommend other games.
