1.0.1 • Published 3 years ago

@jankonieczny331/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 either 1 or 2.
  • d3() returns 1, 2, or 3.
  • d4() returns 1 to 4.
  • d6() returns 1 to 6.
  • d8() returns 1 to 8.
  • d12() returns 1 to 12.
  • d20() returns 1 to 20.
  • d30() returns 1 to 30.
  • d60() returns 1 to 60.
  • d100() returns 1 to 100.
  • d1000() returns 1 to 1000.