Skip to content
Sign upLog in

Is there a way to get the highest value stored in the repl database?

Profile icon

I want to make a leaderboard for my game that displays people with the highest number of coins.

You are viewing a single comment. View All
Answered by CodingElf66 [earned 5 cycles]
View Answer
Profile icon

Make a copy of the leader board, get the highest value and move it to a separate list. Repeat until the copy is empty, and the separate list has the scores in order.