Class TwoSixSidedDice

  • All Implemented Interfaces:
    RollIfc

    public class TwoSixSidedDice
    extends java.lang.Object
    implements RollIfc
    • Constructor Detail

      • TwoSixSidedDice

        public TwoSixSidedDice()
    • Method Detail

      • roll

        public int roll()
        Specified by:
        roll in interface RollIfc
      • countRolls

        public int countRolls​(int point)
      • estimateMeanNumberOfRolls

        public double estimateMeanNumberOfRolls​(int point,
                                                int sampleSize)