d20 0.1.0 copy "d20: ^0.1.0" to clipboard
d20: ^0.1.0 copied to clipboard

outdated

D20 is a Dart library for RPG dice rolling. Supports standard notation (like "2d12", "d6+5" and "2d20-L").

example/main.dart

import 'package:d20/d20.dart';

void main() {
  final D20 d20 = D20();
  print(d20.roll('2d8+5+5d6'));
}
9
likes
0
pub points
47%
popularity

Publisher

verified publisherborges.dev

D20 is a Dart library for RPG dice rolling. Supports standard notation (like "2d12", "d6+5" and "2d20-L").

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

math_expressions

More

Packages that depend on d20