A C G M N P U W Y
- Static variable in class ALL_SCORED YahtzeeSolver
constant encoding the fact that all categories have been scored (game end)
- Static variable in class catRollIdScore YahtzeeSolver
Lookup table of score gained, indexed by score category index and the roll id.
- Static method in class getExpScore() YahtzeeSolver
Return the expected score for optimal play of Upper Section Yahtzee.
- Static method in class getOptimalActionAndScore(boolean, int, int, int) YahtzeeSolver
Given a boolean array indicating scored categories, an array with the current roll, the number of rerolls that have been taken this turn,
and the current score, return a length 2 Object array where the first Object is an Integer encoding the optimal action, and the second is
a Double indicating the score expected from that action assuming continued optimal play.
- Static method in class main(String) YahtzeeSolver
- Static variable in class NUM_CATS YahtzeeSolver
number of scoring categories
- Static variable in class NUM_DICE YahtzeeSolver
number of total dice
- Static variable in class NUM_RANKS YahtzeeSolver
number of dice ranks
- Static variable in class NUM_ROLLS YahtzeeSolver
number of unique sorted rolls for all dice
- Static method in class playGame() YahtzeeSolver
Simulate an optimally played game and return the final score.
- Static variable in class UNKNOWN YahtzeeSolver
constant for indicating that a nonnegative integer is unknown
- Static variable in class widgetMap YahtzeeSolver
Multilevel map allowing lookup of YahtzeeWidget objects indexed by scored categories id
and current score (truncated at the upper section bonus limit).
- Static variable in class widgets YahtzeeSolver
List of YahtzeeWidget sets grouped according to 0-based turn number.
- Class in YahtzeeSolver <Unnamed>
YahtzeeSolver - a class for retrograde analysis of Upper Section Yahtzee.
A C G M N P U W Y