Images of numbers and dice, Die class, functions