Add a density class and methods to calculate basic die densities...
syntax fixes
made term a class from which die, number, etc inherit
removed old methods, several fixed errors
outline how to calculate densities
made all die density methods to class initializers of a corresponding class, fixed some errors
made dice.rb load densities.rb, removed all tests to an external test.rb file, added prelimenary density calculations to dice.rb
fix
require_relative instead of load, also print the probability that X<=5
update the README
fix
nicer test output
fix: to reset a key, delete it, don't set it to the default value! Compound- and PenetratingDieDensity now generate true densities under the assumption that maxpenetrate resp. maxcompound is bounded (by default by 10).
added a density method to the Parser, negative signs work now
support for keep and delete modifiers (excluding exploding die)
allow multiple modifier functions, fixed some errors
add attributes to indicate uniform densities and failures
fixed errors with fail/uniform, print the result
add a role method to Density
oops