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
  • 119k
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
  • 401
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
  • 119k
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,153
5 votes

Google leaderboards, up to a maximum of 70?

One of my friends experience the same. They got truncated once the app was uploaded to the google play.
Bálint's user avatar
  • 14.9k
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,291
3 votes

Google leaderboards, up to a maximum of 70?

Will they be deactivated? Yes. The 70 leaderboard limit is part of the store specification, so more than seventy are allowed for testing on a local environment, which I have found myself, and from ...
Ramsay Smith's user avatar
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
  • 119k
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
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
  • 119k
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
  • 134k
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.3k
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
  • 119k
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

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
  • 213
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 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

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
  • 119k
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

PlayerCenteredScores in LeaderBoards

The documentation isn't clear about the ordering of the scores. When the documentation doesn't guarantee any kind of order, guarantee it yourself. I suggest you simply iterate through the list, ...
House's user avatar
  • 73.2k

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