continuing work on the dice engine. tests included.