1.1.0 • Published 5 years ago
@emersonlaurentino/rpg v1.1.0
RPG
Set of tools for RPG games
Installation
npm install @emersonlaurentino/rpg
Usage
diceRoller
import { diceRoller } from '@emersonlaurentino/rpg'
const dice2d10 = diceRoller(2, 10);
console.log(dice2d10) // output: { result: 6, rolls: [4, 2] }
1.1.0
5 years ago