Update README.md

This commit is contained in:
achmizs 2016-01-16 15:19:13 -05:00
parent 756838de0b
commit 147daf09d1

View File

@ -6,13 +6,14 @@ A "die roll string" is a string that contains an expression that defines operati
Examples Examples
======== ========
String Explanation * 1d6
------ ----------- * Roll a single six-sided die. This expression evaluates to the result of the roll.
1d6 Roll a single six-sided die. This expression evaluates to the result of the roll. * 1d20+5
1d20+5 Roll a single twenty-sided die; add 5 to the rolled number and return. * Roll a single twenty-sided die; add 5 to the rolled number and return.
4d6 Roll four six-sided dice; add up the individual rolls and return the total. * 4d6
5d6-2d20+5 Roll five six-sided dice and add up the rolls; roll two twenty-sided dice, add up the two rolls, and subtract from * Roll four six-sided dice; add up the individual rolls and return the total.
the previous total; add 5 to the result; return. * 5d6-2d20+5
* Roll five six-sided dice and add up the rolls; roll two twenty-sided dice, add up the two rolls, and subtract from the previous total; add 5 to the result; return.
What Are Dice? What Are Dice?
============== ==============