a simple dice-rolling program
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
katherine e1f1ec0dee initial commit! 4 weeks ago
reqs initial commit! 4 weeks ago
src initial commit! 4 weeks ago
.gitmodules initial commit! 4 weeks ago
LICENSE initial commit! 4 weeks ago
README.md initial commit! 4 weeks ago
configure initial commit! 4 weeks ago

README.md

roll

roll is a simple little dice-rolling program. it takes a list of arguments in the form of <die_size>d<die_count> and simulates rolling them, showing both subtotals and a total sum at the end.

example output:

$ ./roll 2d6 3d9
5, 1 = 6
5, 6, 4 = 15
 = 21