1.0.1 • Published 2 years ago

@kayu70/dices v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Dices

A set of methods that simulate polyhedral dices. See the documentation

Documentation

  • d2() returns either 1 or 2.
  • d3() returns 1, 2 or 3.
  • d4() returns 1, 2, 3 or 4.
  • d5() returns 1, 2, 3, 4 or 5.
  • d6() returns 1, 2, 3, 4. 5 or 6.
  • d8() returns random numer between 1 and 8.
  • d10() returns random numer between 1 and 10.
  • d12() returns random numer between 1 and 12.
  • d20() returns random numer between 1 and 20.
  • d30() returns random numer between 1 and 30.
  • d60() returns random numer between 1 and 60.
  • d100() returns random numer between 1 and 100.
  • d1000() returns random numer between 1 and 1000.