5 releases

Uses old Rust 2015

0.1.4 Jan 9, 2018
0.1.3 Jan 9, 2018
0.1.2 Jan 8, 2018
0.1.1 Jan 6, 2018
0.1.0 Jan 6, 2018

#9 in #rolls

GPL-3.0 license

7KB
96 lines

Rolldice

TravisCI CratesIO

Simple program that generates random dice rolls given a typical representation for number of dice and number of sides.

For example:

  • "2d10" will roll 2 dice with 10 sides each
  • "4d6" will roll 4 dice with 6 sides each
  • etc....

Installing

The easiest way to install rolldice is using cargo:

$ cargo install rolldice

Dependencies

~0.7–1MB
~12K SLoC