From ddc5f52e7591834d291f9728da6480fd4af3a864 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 19 Jul 2017 23:38:14 -0400 Subject: Describe exploding dice --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 711a25c..537872e 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ ignored): | Die '+' Die | Die '-' Die | '-' Die + | Die 'E' Die Semantics are defined in terms of the `pool` function. @@ -92,6 +93,12 @@ Semantics are defined in terms of the `pool` function. `D`. * `-D` returns the opposites of values generated by `D`. * `D-E` is equivalent to `D+(-E)`. +* `DEF` (here `E` is the literal symbol `E`, `D` and `F` are dice expressions) + is an "exploding die." First `D` is rolled. Now each die in the dice pool + generated by `F` is rolled repeatedly until it rolls something less than the + value rolled on `D`. The die's result is the sum of all those rolls. *Note:* + this could lead to an infinite evaluation if `F` always rolls higher than a + possible result of `D`. Additionally: -- cgit v1.2.3