iron_dice

Crates.ioiron_dice
lib.rsiron_dice
version0.1.3
sourcesrc
created_at2024-01-17 15:09:41.550138
updated_at2024-05-22 14:42:43.917794
descriptiona command line utility to throw dice
homepage
repositoryhttps://github.com/katekorsaro/iron-dice
max_upload_size
id1103106
size148,550
Kate Korsaro (katekorsaro)

documentation

README

Rust

iron-dice

A CLI die roller for every RPG enthusiast.

Usage

  • iron_dice will yield the result of 3d6
  • iron_dice -d "d20" will throw and yield 1d20
  • iron_dice -d "d100+40" will throw and yield 1d100 and will add 40 to the result
  • iron_dice -d "5d6 sc6" will throw 5d6 and for every 6 will count 1 success
  • iron_dice -d "4d6 max3" will throw 4d6 keeping the largest 3
  • iron_dice -d "3d8 ex7" will throw 3d8 and explode every die showing 7 or more
  • iron_dice -d "3d6" -t 5 will throw 3d6 5 times

Change log 0.1.3

  • Added the die definition to output
Commit count: 179

cargo fmt