Hello!
I wrote this tutorial where you can learn about 2 simple algorithms for
generating weighted random numbers.
*You can read it here*:
<http://www.blackbytes.info/2016/05/weighted-random-numbers/?cs=ruby_talk>
Let me know what you think
Jesus Castello