Another try at dice code.