Skip to content

Simple dice roller written in Rust

License

Notifications You must be signed in to change notification settings

nerdydrew/rust-roll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-roll

Simple binary program for rolling dice, such as for D&D. Examples:

$ roll --avg d20+2
Rolled 9 = 1d20 (7) + 2
Average: 12.5
$ roll 3d8
Rolled 14 = 3d8 (2, 4, 8)
$ roll 2d20 + 5 - d8 + 2
Rolled 24 = 2d20 (17, 1) + 5 + -1d8 (-1) + 2

About

Simple dice roller written in Rust

Resources

License

Stars

Watchers

Forks

Languages