Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 198 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 198 Bytes

Dice roller written in TypeScript.

Example usage

  • rollDice(2, 20) - Rolls two 20-sided dice
  • rollDiceCode('2d4') - Rolls two 4-sided dice.
  • rollDiceCode('d6') - Rolls one 6-sided die.