@konradurbanski/dices
v1.0.1
Published
A set of methods that simulate polyhedral dices. See the document below. ## Documentation - `d2()` returns either 1 or 2. - `d3()` returns 1, 2 or 3. - `d4()` returns from 1 to 4. - `d6()` returns from 1 to 6. - `d8()` returns from 1 to 8. - `d12()
Downloads
1
Readme
Dices
A set of methods that simulate polyhedral dices. See the document below.
Documentation
d2()
returns either 1 or 2.d3()
returns 1, 2 or 3.d4()
returns from 1 to 4.d6()
returns from 1 to 6.d8()
returns from 1 to 8.d12()
returns from 1 to 10.d20()
returns from 1 to 20.d30()
returns from 1 to 30.d60()
returns from 1 to 60.d100()
returns from 1 to 100.d1000()
returns from 1 to 1000.