I have many routes a player can take in a game I'm making. Each route awards them a specific score (ranging from 4 to 31, but mostly concentrated around 8 and 11) and I need to decide which difficulty challenge to present the player with in order to progress through that route.
The difficulty of challenges I have range from 1 to 9. I want each difficulty to have as close to an equal chance of being chosen assuming the player takes a random route (so if take every score and put them through this formula to get the difficulty and count how many times each difficulty is chosen, all these counts would be as close as possible).
Is there any formulae I could use to find a corresponding difficulty for any route based on that route's score relative to the scores of all the other routes? Of course, the higher score a route awards, the higher difficulty I want the challenge to be.
I have plotted the current distribution of scores (x being the score, y being the occurrences of that score) on a graph to make them easier to visualize, and so I believe I'm looking for an equation that flattens this curve Scatter graph.