dice_tower 0.7.0
dice_tower: ^0.7.0

Flutter Android iOS web

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.
0
likes
100
pub points
16%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

martin.labanic@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dice_tower