Update README.md

This commit is contained in:
achmizs 2016-01-16 15:19:36 -05:00
parent 147daf09d1
commit e62e3fe4a0

View File

@ -6,13 +6,13 @@ A "die roll string" is a string that contains an expression that defines operati
Examples Examples
======== ========
* 1d6 * "1d6"
* Roll a single six-sided die. This expression evaluates to the result of the roll. * 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 * "4d6"
* Roll four six-sided dice; add up the individual rolls and return the total. * Roll four six-sided dice; add up the individual rolls and return the total.
* 5d6-2d20+5 * "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. * 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?