pharaun / alldice

Restful interface to a dice expression eval and generator.
Apache License 2.0
0 stars 1 forks source link

Build a list of various odd and ends for dice rolls from various reference materials. #11

Open pharaun opened 10 years ago

pharaun commented 10 years ago

Basically what good is a dice generator if it can't do all sorts of odd rolls.

Look up in various source books and finding what types of rolls are out there and implement support for it. 1.Roll a m sided dice (d20)

  1. Roll multiple (n) dices of (m) sides (2d6)
  2. add n
  3. subtract n
  4. best n
  5. worst n
  6. exploding dice (ie if you roll max dice, you roll additional dice till you stop rolling max dices)
  7. Additive vs success roll (Ie 2d6 = d6 + d6), and success where (success = count_true([x > 3 for x in [d6, d6, d6]) > 2)