craps_domain library

Core Craps Logic

Classes

Dice
This class simulates a pair of dice
Die
This is a die with ability to roll a random value and record history
DieHistogram
Dta structure that holds a histogram for a die
Puck
This class simulates a craps puck
RollResult
This holds the results of the roll of dice

Extensions

Log on Object
Extension to allow logging objects

Constants

CRAPS → const Set<int>
CRAPS alias for front-line natural losers
INSIDE_NUMBERS → const Set<int>
Valid inside numbers
NATURAL_LOSERS → const Set<int>
Set of front-line natural losers
NATURAL_WINNERS → const Set<int>
Set of front-line natural winners
OUTSIDE_NUMBERS → const Set<int>
Valid outside numbers
POINT_NUMBERS → const Set<int>
Valid inside numbers
POINT_NUMBERS_CRAPLESS → const Set<int>
Valid inside numbers
VALID_DIE_FACES → const Set<int>
Valid values for a single die
VALID_ROLLS → const Set<int>
Valid values for a pair of dice