1.0.1 • Published 3 years ago

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