Questions tagged [leaderboard]
616 questions
-1
votes
1 answer
Google Play Services Game Leaderboard
I cannot seem to find an answer anywhere else, so I am asking here hoping that someone would know.
With google leaderboard, I need it to sort by both high score and fastest completion time, is this possible?
example:
Player: Sally Score: 50 Time:…

user3695989
- 9
- 3
-1
votes
1 answer
get rank of weekly leaderboard in GameKit of iOS
I want to give a feedback to a player who's on the top of the leaderboard.
i do it for daily leaderboard like this:
GKScore* gkScore = [self createScoreForeCategory:kLeaderboardCategoryCumulativePoints];
if (!self.gameCenterFeaturesEnabled ||…

Sam
- 2,707
- 1
- 23
- 32
-2
votes
3 answers
Python creating 2 lists of name and score for high scores
I'm trying to append more items to this 2 list after getting the input and score from my game, I need to know how am I able to print both names and score side by side as the code below is what I learnt from geeksforgeeks.org. I'm not really sure if…

Outblast2
- 29
- 1
- 7
-2
votes
1 answer
Number guessing game with leaderboard
I can code in python with confidence of what I know but I would like to extend what I can do. I had the idea of making a very basic number guessing game and adding some cool things to it such as a leader board to show who got the number in the…

HBoi
- 9
- 2
-2
votes
1 answer
Is there a way to make a leaderboard with several json files?
in my current command, I get the leaderboard from a single json file called users.json that stores several XP from multiple users:
@bot.command(pass_context=True)
async def top(ctx):
with open('profile/users.json', 'r') as fp:
users =…

Lucas Tesch
- 147
- 1
- 3
- 11
-2
votes
1 answer
Android Facebook API - Query score top 10 users of the app
Kindly any idea or the possibility to query the list of the top 10 scores of an application. The users doesnt need to be friends with the current logged user.
Maybe the functionality is not permited through Graph API but i can't find any clear…

MysteryDev
- 17
- 7
-2
votes
1 answer
"The name 'HighScoreList' does not exist in the current context"
So I'm trying to pull playername and count from a file, and save them into a variable for high scores..
I dont understand why this error is happening though. At all.
I've also tried to ask on the unity forums but this hasn't helped much.
Code:
using…

Plumel
- 45
- 9
-2
votes
1 answer
How to implement a leaderboard which automatically resets itself periodically?
I want to implement a leaderboard for my mobile game (iOS, Android) which will periodically reset after 2 weeks. The leaderboard will only contain top 100 players. After 2 weeks it will save the top 10 player IDs along with their scores in a…

Ehtesham Hasan
- 4,133
- 2
- 23
- 31
-2
votes
1 answer
Sort elements after adding new element dynamically
I am working on a leaderboard using Firebase as backend. They have given this tutorial - https://www.firebase.com/tutorial/#session/e5u73mr8wvp
I want help interpreting the following lines of code and how it keeps the element sorted.
if…

Niraj Pandkar
- 163
- 4
- 15
-2
votes
1 answer
Highscore leaderboard
I'm trying to put the scores of my leaderboard in order of highest to lowest.
I'm not sure how i would do this, i know this is not a place to ask for code to be written but I've looked everywhere, would I need to create an array or list, or a…

Matty Dick
- 11
- 1
- 7
-2
votes
2 answers
How to implement a leaderboard with LibGDX
anyone can help me with this leaderboard? I make one game on LibGDX and now I try implement a hight score system, so for that I one leaderboard. I search in differen sites or videos but for nothing :(.
I would be very glad if someone could give me…

cavaler12345
- 367
- 1
- 5
- 15
-4
votes
1 answer
How do I automate my javascript game to ask for a name and enter a url for my dreamlo leaderboard?
I have a javascript snake game on my site. I have a leaderboard from a site called http://dreamlo.com. It uses and http get to record scores. How can I automate it in Javascript? Here is the game download: https://github.com/patorjk/JavaScript-Snake

Kenneth Hendrix
- 1
- 1
-6
votes
1 answer
JavaScript Rank Leaderboard
[
[ 'UserA', 490 ],
[ 'UserC', 175 ],
[ 'UserD', 67 ],
[ 'UserB', 26 ]
]
How would I give them a rank based on the leaderboard? eg. UserA is in the 1st Rank, UserC is in the 2nd Rank, etc.
It will look something like this:
UserA: Rank…

Reinhardt
- 9
- 2
-8
votes
1 answer
Leaderboard/Highscore for game in PHP
I have a problem with PHP leaderboard where I need to create a leaderboard for people that are using my program.
The program is sending scores to database and later displaying all game scores for selected player on separate page. Scores are being…

QuestionForPHP
- 11
- 1