1.0.1 • Published 3 years ago

@dominik_bujniak/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

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