Scoring

ColorGuess! New Scoring Algorithm -- Part 1: Theory

Hey all, if you haven’t seen our exciting news from earlier this week, head on over and check it out here. This post builds off of that announcement, so it’s best if you familiarize yourself with it first.  I’ve decided to break this post up into two parts, as it has gotten quite long. In part 1, no values will be given, only theory.  Part two will follow tomorrow with a more detailed look at the numbers we have decided to start working with.

Moving on from that, this article is going to discuss the thoughts behind the changes to the scoring system in this second version of ColorGuess! Please keep in mind that any numbers that are discussed here are purely in the development stage, and could change many times between now and the official launch.

When we set out to create a new scoring system, we had one big goal in mind: to cap the score at something reasonable. In the original ColorGuess!, all sorts of scores were achievable, and it was hard to define what an amazing score was, what a good score was and what a bad score was. Because of this, the game became more about getting the best grades possible, and less about the overall score; while this is a valid way to play the game, and will continue to be a valid way to play the game, it is not what our original intention was.

So, moving forward, the highest achievable score (and it will only be achievable with a near perfect game) will be 1,000,000.

As mentioned above, there is a very good game play reason to make this change, but conveniently for us, it addresses and fixes a pretty big bug that is present in the current version. Currently, infinity is an achievable score, and all that needs to happen is that you need to be lucky enough to match one of the colors perfectly, just one, and you will get a score of infinity, or “0” as our number formatter formats it.

Achieving a high score of infinity, as displayed by 0.

High score of infinity displayed as 0.

This error is caused by the inverse functions we called in order to get score multipliers, if you happened to match both colors perfectly (guessed-actual = 0), then you end up with 0 in your denominator, causing an undefined value, and spitting out infinity.

Now, you know that the score is capped, but you might be wondering how we go from the capped score to the score given to the players at the end of the game. After a lot of (over) thinking, we decided to use a basic subtraction method. Percent error on the colors will be calculated, and that percent error will be compared against grades. The grade will then determine what value is subtracted from 1,000,000 to give you a final score.

There’s one last key component to our scoring system: time. In order to have time be a part of our equation, we decided that you would get a certain amount of free time, and after that each second would deduct a set number of points. In reality, what happens is the points per second value is added to the subtraction value determined by the grade (i.e. if points per second is 3, and you take 2 more seconds than the free time, 6 points will be added to the subtraction value.)

 

 

 

That’s it for part one, to sum it all up:

  • The score is capped at 1,000,000 points, this is an achievable score.
  • A subtraction value is decided by a grade that is decided by the percent error of the color.
  • Time past the free amount of time is added to the subtraction value at a given points per second rate.

Make sure to check back tomorrow for part two, where more of the actual math is divulged! Thank you for reading.

Download ColorGuess!

Austin