I trying find a simple python-based algorithmic ranking system.
Here's the scenario:
There will be 30 levels, level 1 starts at 0 points. 2000 points are required to achieve level 30.
More points will be required as the levels progress.
For example, to go from level 1 to 2 might take 3 points. Level 2 to 3 might take 5 additional points. Level 29-30 might take 1200 additional points.
Since the score will be calculated on the fly, I also need a way to determine which level the player is at. For example, what level is a person with 358 points?
I could set the points manually but the 2000 point cap will fluctuate from day to day so that is not an idealistic option.
I was thinking something similar to Google's Pagerank (1-10) where it's easy to get from 0 to 4 but 9-10 is a very hard accomplishment.
Any simple snippets or tippets?
Thanks