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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
leaderboards × 105unity × 20
scoring × 15
game-design × 13
android × 11
ranking × 11
google-play-services × 10
c# × 8
facebook × 7
anti-cheat × 7
mathematics × 6
game-center × 6
multiplayer × 5
ios × 5
game-mechanics × 5
security × 5
java × 4
libgdx × 4
flash × 4
google-play × 4
c++ × 3
algorithm × 3
networking × 3
html5 × 3
iphone × 3