Loading ...
Sorry, an error occurred while loading the content.

[Devon] Re: new shard-dice snapshot available

Expand Messages
  • karianna03
    Flagging for Architecture
    Message 1 of 2 , Oct 2, 2006
      Flagging for Architecture

      --- In pcgen@yahoogroups.com, "wireframe6464" <wireframe@...> wrote:
      > I know pcgen has it's own dice rolling code, but there are some major
      > changes in the shard-dice library that might be of interest to pcgen
      > developers.
      > the *big* change in this release is that shard-dice now uses the same
      > JEP math library that pcgen does to parse complex dice expressions.
      > Just about any dice expression you can think of, shard-dice can now
      > handle. for example:
      > 1d6 + 2d8(d6 + 12d4)
      > shard-dice has some other really nice features too:
      > * super lightweight library. it does dice rolling and that's all!
      > * full featured dice rolling API. easily get the min/max range for
      > this dice
      > * very extensible API for creating new algorithms.
      > * several convenience dice for standard rolling (ex: RandomDice.d20,
      > RandomDice.d6, RandomDice.d8, etc)
      > * parse user input into dice expressions (ex: 2d6 + 4)
      > * customizable for any situation.
      > ** roll multiple dice
      > ** drop high/low values of rolls
      > ** multiply rolls by a value
      > ** modify rolls with positive/negative modifiers
      > ** always roll min/max values
      > ** always roll above a certain value
      > I'm sure there aren't many changes to the pcgen dice rolling library,
      > and using the shard-dice library would be "one less thing" for PCGen
      > to worry about. If anyone is interested in integrating this into
      > PCGen, let me know!
    Your message has been successfully submitted and would be delivered to recipients shortly.