m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-07-19 23:38:14 -0400
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-07-19 23:40:18 -0400
commitddc5f52e7591834d291f9728da6480fd4af3a864 (patch)
treec2145fa62c567717af72338ac64344aff7c7ca7b
parentbe3415a7cb219fe0244e726ccd0f232485672ed6 (diff)
Describe exploding dice
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
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: