An open API service indexing awesome lists of open source software.

https://github.com/arranf/imperial-assault-dice

A Dart library for simulating the rolling of dice in FFG's Imperial Assault
https://github.com/arranf/imperial-assault-dice

Last synced: 8 months ago
JSON representation

A Dart library for simulating the rolling of dice in FFG's Imperial Assault

Awesome Lists containing this project

README

          

A library for simulating rolling dice in FFG's Imperial Assault.

## Usage

A simple usage example:

```dart
import 'package:imperial_assault_dice/imperial_assault_dice.dart';

main() {
var calculator = new DiceCalculator([new RedDie(), new YellowDie()], [new BlackDie()]);

var result = calculator.Simulate(30);
print(result);

var redDie = new RedDie();
print(redDie.roll());
}
```

## Features and bugs

Please file feature requests and bugs at the [issue tracker][tracker].

[tracker]: https://github.com/arranf/Imperial-Assault-Dice/issues