dice

// usage
chance.d4()
chance.d6()
chance.d8()
chance.d10()
chance.d12()
chance.d20()
chance.d30()
chance.d100()

Return a value equal to the roll of a die.

chance.d20();
=> 13

chance.d6();
=> 4

These are just wrappers around natural() but are convenient for use by games.