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.