Hazard a random library with weighted tables


I wrote a small library for dice simulation.

You can simply roll dice like :
Hazard.d6 (rolls a 6 sided dice).
Hazard.d3d6 (rolls 3 6 sided dice).
And much more

I also recently added weighted tables which allows you to get weighted randoms very easily.

Please have a look at GitHub - czuger/hazard: A very simple dice library for ruby

I’m interested in any comments or improvements suggestions.