View Single Post
  #1  
Old 08-23-2013, 12:35 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
Algorithm RNG that progressively gets harder the higher the number

I currently need a way to create random number generation that gets progressively harder the higher the number..

example:
You have the chance of getting a number 0-10.

You are most likely to get 1, less likely to get 2, even less likely to get 3 and so on.

Does anyone have any suggestions on how to do where it would be progressively harder each number you go up or would my best bet be to do a bunch of logic checks to see if a random number is within a set range and iteration lessen the the gap that allows it to proceed to the next iteration until I've hit the whatever the max number?
Reply With Quote