Distribution Conditions
Within each BetMode there is a set of Distribution Classes which determine the win-criteria within each bet-mode. Required fields are:
- Criteria
- A shorthand name describing the win condition in a single word
- Quota
- This is the amount of simulations (as a ratio of the total number of bet-mode simulation) which need to satisfy the corresponding criteria. The quota is normalised when assigning criteria to simulations, so the sum of all quotas does not need to be 1. There is a minimum of 1 simulation assigned per criteria.
-
Conditions
- Conditions can have an arbitary number of keys. Though the required keys are:
reel_weightsforce_wincapforce_freegame
Note that
force_wincapandforce_freegameare set toFalseby default and do not have to be explicitly added.The most common use for the Distribution Conditions is when drawing a random value using the BetMode's built-in method
Or to check if a board forcing theget_distribution_conditions(). i.e.freegameshould be drawn with: - Conditions can have an arbitary number of keys. Though the required keys are:
-
Win criteria (optional)
There is also a
win_criteriacondition which incorporates a payout multiplier into the simulation acceptance. The two commonly used condtions arewin_criteria = 0.0andwin_criteria = self.wincap. When callingself.check_repeat()at the end of a simulation, ifwin_criteriais notNone(default), the final win amount must match the value passed.The intention behind betmode distribution conditions is to give the option to handle game actions in a way which depends on the (known) expected simulation. This is most clear if for example a simulation is known to correspond to a
max-winscenario. Instead of repeatly drawing random outcomes which are most likely to be rejected, we can alter the probabilties of larger payouts occurring by biasing a particular reelset, weighting larger prize or multiplier values etc..