/** * An interface for a numeric die. */ public interface Die { /** * Roll the die. */ public void roll(); /** * Get the value currently showing on the top of the die. */ public int getTop(); }