Simulate and test odds-based mechanics such as dice rolls and more.
More...
Initial release:
import 'package:gambit/gambit.dart'; void main() { final random = FixedRandom.normal(6); for (var i = 0; i < 6; i++) { print(d6.sample(random)); // 1, 2, 3, 4, 5, 6 } }
lurey.dev
Repository (GitHub)
API reference
MIT (license)
meta
Packages that depend on gambit
Back