dice_tower 0.5.3+1 copy "dice_tower: ^0.5.3+1" to clipboard
dice_tower: ^0.5.3+1 copied to clipboard

outdated

A flutter package for rolling dice using the rules for various table top games.

dice_tower #

A flutter package for rolling dice using the rules for various table top games.

Supported rulesets: #

  • Dungeons & Dragons 5e

Planned rulesets: #

  • Shadowrun 5e
  • Pathfinder

Installation #

To use this plugin, add dice_tower as a dependency in your pubspec.yaml file.

Usage #

Import the library.

import "package:dice_tower/dice_tower.dart";

Create some dice.

Dice d1 = Dice(20);
Dice d2 = Dice(8, modifier: 1, numberOfDice: 3);

Roll them using a ruleset.

RollResult r1 = Dnd5eRuleset.roll([d1]); // Single di.
RollResult r2 = Dnd5eRuleset.roll([d1, d2]); // Multiple dice at once.
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A flutter package for rolling dice using the rules for various table top games.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on dice_tower