Games with AI

How to add a leaderboard, quests and a store to a web game

How to add a weekly leaderboard, daily quests and an in-game store to a browser game without writing a backend: ready systems that the AI coder installs and you set up in the dashboard.

To add a leaderboard, quests and a store to a web game, ask the AI coder for each one and set it up in the dashboard - all three are ready systems that run on the iDos Games server. You do not write a backend: the server counts scores, quest progress and purchases, and the game only shows the screens.

These three systems answer three reasons to come back: to beat others, to finish today's tasks and to get something new. Together they turn a game you try once into a game you open every day.

Leaderboard

Ask the AI coder: "Add a weekly leaderboard by best score". It installs the leaderboard and teaches the game to submit the result. In Live Operations → v2 → Leaderboard set the round schedule, how the score is counted and the rewards for rank.

Leaderboards
12 450
320
Weekly!
Season
My score12 840
Rank#7
Ends in 2d 04:13
Rewards
Play
ShadowFox25 120
2Mira22 980
3KnightOwl19 400
4Pixel_Pete15 210
5Luna14 030
6Arrow13 115
7You12 840
8Grizzly11 900
Every enabled board is a tab; the badge means a reward is waiting.
The player card: score, rank and the countdown to the end of the round.
Rank and points rewards open from here; "Play" leads to the game mode.
Medals for the top three, the player is highlighted in the list.
Example. The leaderboard screen: the player card with the round timer and the top list.

Set limits on the score the game submits, so a player cannot send a huge number.

Quests

Quests are already in every new project. In Live Operations → v2 → Quest create a daily cycle and a few tasks, then ask the AI coder: "Count monsters_defeated every time a monster is defeated". A points track with chests and a bonus for a group of tasks work at the same time.

Store

Ask "Add a shop", then in Live Operations → v2 → Store create offers and put them on a storefront. A free daily gift with a limit is a good first offer. The store server checks the price and limits of every purchase.

Connect them

  • A quest "buy something in the store" - the server counts purchases by itself.
  • Store rewards for the top of the leaderboard.
  • A daily quest for playing a ranked round.

Each system's tab appears for players only after it is configured, so you can add them one by one.

Aidos Ryskeldinov

About the author

Founder of iDos Games

Lifelong gamer and tech enthusiast. Since 2020 I have been building and shipping cross-platform games and apps, and today I'm building iDos Games: a platform where anyone can make a game with AI, put it live at its own link and earn from it. Here I share how to make games faster and easier than you'd think.

Frequently asked questions

Do I need my own server for a leaderboard?

No. The iDos Games server counts scores, ranks and rewards; the game only submits results and shows the ranking.

Can players cheat the leaderboard?

A board takes a number from the game only through a source with limits: a maximum per submission, per day and a pause between submissions.

Are quests already in my project?

Yes. Quests are part of every new project; their tab appears for players as soon as at least one quest is set up.

Learn more in the documentation

Make your own game

Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.

All articles