Updates the internal state of the betting strategy based on the previous game round's result. This method typically returns a new instance of the strategy with updated parameters (e.g., for progressive strategies like Martingale).
Updates the internal state of the betting strategy based on the previous game round's result. This method typically returns a new instance of the strategy with updated parameters (e.g., for progressive strategies like Martingale).
Value parameters
ctx
The customer entity's context (can be used for contextual updates).
result
The outcome of the game round (positive for win, negative for loss, 0 for push).
Attributes
Returns
A new instance of the BettingStrategy with its state updated.