#generate #dice #dice-roll #values #rolls #sides #2d10

bin+lib rolldice

Command line utility to generate dice roll values

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

#8 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

~2MB
~30K SLoC