1.0.1 • Published 3 years ago

@yolonoscop3r/dices v1.0.1

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

Dices

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

Documentation

  • d2() returns random number from 1 to 2.
  • d3() returns random number from 1 to 3.
  • d4() returns random number from 1 to 4.
  • d6() returns random number from 1 to 6.
  • d8() returns random number from 1 to 8.
  • d12() returns random number from 1 to 12.
  • d20() returns random number from 1 to 20.
  • d30() returns random number from 1 to 30.
  • d60() returns random number from 1 to 60.
  • d100() returns random number from 1 to 100.
  • d1000() returns random number from 1 to 1000.