Skip to main content
23 votes

Fair scoring system for multiple levels and multiple players

I wouldn't actually consider it a bad idea to have a leaderboard that takes scores of all levels into account. Even those the player hasn't played at all, using a score of 0 for them. It avoids a ...
Philipp's user avatar
  • 122k
11 votes

Fair scoring system for multiple levels and multiple players

You can use the same 1/x function you are using to calculate your score in a level to weigh score of your levels. You get 100% for your best level, then 50% for the next one and so on. This means that ...
Zizy Archer's user avatar
7 votes

Sanitise a high score table to remove offensive terms / usernames

A small user-base is probably not enough to detract from the ease of implementing a blacklist. There are many libraries and/or word-lists such as the ones referenced here that can allow you to simply ...
Mars's user avatar
  • 541
7 votes

What should I do with global high scores when the game has a major update?

When you change your game mechanics in a way that the old scores can no longer be compared to the new ones, then it doesn't make sense to have a scoreboard which does. So start a new scoreboard. But ...
Philipp's user avatar
  • 122k
6 votes
Accepted

How to add high score?

To implement any form of a highscore system, you would need the following: A persistent storage, ie: not in memory (variables) A way to write to this storage A way to read from this storage A way to ...
eclmist's user avatar
  • 1,143
5 votes

Fair scoring system for multiple levels and multiple players

There won't be a perfect scoring system. There will be always someone who is unhappy or feels it is unfair. How I would tweek it: Your score is calculated from the X best played games. This way, ...
Zibelas's user avatar
  • 4,628
2 votes

How can I remove scores or ban users from Google Play leaderboards?

For future strugglers as this is not well documented. You can hide players by adding a web application in your Google Play Console and using the OAuth Playground, to execute the REST APIs Scores: list ...
Gaute-MO's user avatar
2 votes

Separate player rating systems for attackers and defenders

You can still use ELO rating in this situation. ELO would not work properly if players sometimes play with advantage and sometimes with disadvantage. But that's not the situation you are in. When ...
Philipp's user avatar
  • 122k
2 votes
Accepted

Online Leaderboards: reducing cheaters without authoritative server verifying every move

This solution is quite a lot of work, but still not as much as an authoritative server, and it also provides other benefits: Add a record-and-replay feature to your game. Record all inputs and any ...
Philipp's user avatar
  • 122k
2 votes
Accepted

How to sort leaderboards, given wins and total games played?

One option is to add a constant to both values: RankScore = (Wins + Inertia) / (Total + 2 * Inertia) I called this constant "Inertia" because it creates ...
DMGregory's user avatar
  • 136k
2 votes

How do you encourage players to do hard things?

A way to encourage players to do different things is to discourage them in doing always the same thing. As they "do the same task", reduce the benefit gained from this task until they have ...
Vaillancourt's user avatar
  • 16.4k
2 votes

How do you encourage players to do hard things?

A good way to encourage the player to explore all the features of your game are achievements. Log achievements for mastering all the different skills at different levels. In order to tease the ...
Philipp's user avatar
  • 122k
2 votes
Accepted

How to make score points based on time

You could define whater max score you want for any level. then at the end of the run you give play the score = MAX_SCORE_ON_THIS_LEVEL / time_to_complete. This way the Max score is known, none can get ...
walkingBird's user avatar
1 vote

How can we compare the scores of 2 Facebook friends?

You will have to create your own scoring system, or wait if Facebook comes up with a new one. There is no workaround for this.
andyrandy's user avatar
  • 141
1 vote

Leaderboard not working in Unity

It's probably an authentication problem. In case you're allowing Google to sign your APKs it means only the builds downloaded from the Playstore will be authenticated. If you build any new APKs ...
Yuushabio's user avatar
1 vote

What are known game mechanics to disallow player to become infinitely rich still keeping it fun to progress?

Frequent resets Depending on the style of your game and its progression curve, you could take a lesson from Path of Exile (PoE). It is a Diablo like Hack & Slash game with a strong drive on ...
datacube's user avatar
  • 233
1 vote

What are known game mechanics to disallow player to become infinitely rich still keeping it fun to progress?

Basically what you are asking for are rougelike / rougelite game elements. While rougelike games tend to have a permadeath with none to only a bit next game benefits, rougelite games tend to give more ...
PSquall's user avatar
  • 1,332
1 vote

How to ensure new players aren't blocked from the leaderboards?

A good way to do this would be having separate leaderboards that reset daily/weekly/monthly/yearly/all time. That way, regardless of when they started, they still have an equal chance of getting up ...
WG481's user avatar
  • 283
1 vote

Can I save a score as highscore, if it's a float?

So I could succesfully implement a different method from this guy: https://answers.unity.com/questions/1378780/save-timer-highscore-1.html Thanks everyone for your patience and help! Currently this is ...
Cserni Sándor's user avatar
1 vote

Can I save a score as highscore, if it's a float?

First, you will want to add public float highscore; with your other variables at the top. Then, you will want to change the old code to this in your script. This is ...
OKprogrammer's user avatar
1 vote

Do i need to integrate leader-board and achievement in my game and then publish in alpha testing for google play?

It is not necessary to do an alpha publish. The apk you upload to publish to the store will only have what you include on it. To update the game with leaderboards, you could upload another apk built ...
user113550's user avatar
1 vote
Accepted

Distributed Leaderboard for p2p games

In the same way that you can do distributed monetary balances in cryptocurrencies via public and private keys, you could build a distributed leaderboard by hashing the result (a transaction of sorts ...
blurry's user avatar
  • 819
1 vote

How to securely submit a score?

Ultimately you can't, unless you execute all game mechanics on your server. The app runs on the user's device. Any code running on the user's device is under their control. The best you could try ...
Philipp's user avatar
  • 122k
1 vote
Accepted

Unity google play services login dont work properly

I have encountered this problem before. This happens if you are using an unsigned app. You should have a keystore for your game in order for GPG to work. I'm not sure if you need at least one version ...
Shraa1's user avatar
  • 434
1 vote

How can I prevent false score reports to global highscore tables?

Make all randomness origin from one seed and store the input for every frame. Whenever you have a claimed high score (say top 50), send the seed and the full input to the server. Replay the game on ...
Vinicius Canaa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible