Méthode | Description | |
---|---|---|
AddDice ( List |
||
AddDie ( int faces ) : void | ||
ComesOut ( int roll ) : bool |
Does the roll "come out"?
|
|
CrapsRoller ( int numDice, int faces ) : System | ||
DontPassBetResult ( int roll ) : bool? |
How does a Don't Pass bet fare?
|
|
PassBetResult ( int roll ) : bool |
Does a Pass bet win?
|
|
Probability ( List |
||
Roll ( ) : int |
Roll the dice. Update the state based on the roll.
|
Méthode | Description | |
---|---|---|
BuildReport ( ) : void | ||
GenerateOdds ( ) : void | ||
Setup ( ) : void | ||
SumDieEnumerators ( ) : int |
public CrapsRoller ( int numDice, int faces ) : System | ||
numDice | int | |
faces | int | |
Résultat | System |
public DontPassBetResult ( int roll ) : bool? | ||
roll | int | |
Résultat | bool? |
public Probability ( List |
||
values | List |
|
Résultat | decimal |