Dice API for Java