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!
2 years ago
reqs initial commit! 2 years ago
src initial commit! 2 years ago
.gitmodules initial commit! 2 years ago
LICENSE initial commit! 2 years ago
README.md initial commit! 2 years ago
configure initial commit! 2 years 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