soc.robot
Interface SOCNumberProbabilities


interface SOCNumberProbabilities

This is a list of probabilities for how often each dice number comes up.


Field Summary
static float[] FLOAT_VALUES
          Float probabilities: Index is dice number (1-12; 0 is unused), value ranges 0.0 to 1.0.
static int[] INT_VALUES
          Integer percent probabilities: Index is dice number (1-12; 0 is unused), value is 100 * percentage.
 

Field Detail

FLOAT_VALUES

static final float[] FLOAT_VALUES
Float probabilities: Index is dice number (1-12; 0 is unused), value ranges 0.0 to 1.0. There's a 5/36 = 14% chance of rolling a 6, so FLOAT_VALUES[6] = 0.14f.


INT_VALUES

static final int[] INT_VALUES
Integer percent probabilities: Index is dice number (1-12; 0 is unused), value is 100 * percentage. There's a 5/36 = 14% chance of rolling a 6, so INT_VALUES[6] = 14.