dart_dice_parser 0.1.1 dart_dice_parser: ^0.1.1 copied to clipboard
A small library for parsing dice notation
dart_dice_parser #
A library for parsing dice notation
Usage #
A simple usage example:
import 'package:dart_dice_parser/dart_dice_parser.dart';
main() {
var diceParser = new DiceParser();
var diceExpression = "2d6 + 1 + 3d10";
print("$diceExpression : ${diceParser.roll(diceExpression)}");
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.