How do i make a leaderboard in a game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i make a leaderboard in a game

Html&js

26th Sep 2020, 11:35 AM
Kenephil
Kenephil - avatar
3 Answers
+ 1
define what you mean by leaderboard? I am sure you must have played a multiplayer game, or even on sololearn you can see one leaderboard that keeps account of the xp gained by users globally and locally , just have a look at them ,they aren't some "magically generated objects" If you know basics of js you can create a static( possibly you will want a dynamic one that will last even when the user leaves the browser for that you might need to learn node js so you can store the data in file )
26th Sep 2020, 11:44 AM
Abhay
Abhay - avatar
0
One for a game
26th Sep 2020, 11:45 AM
Kenephil
Kenephil - avatar
0
Example temple run
26th Sep 2020, 11:46 AM
Kenephil
Kenephil - avatar