Updates the Martingale strategy's state based on the game result. If result is negative (loss), bet doubles and loss streak increments. If result is positive (win), bet resets to base and loss streak resets. If result is zero (push), state remains unchanged.
Updates the Martingale strategy's state based on the game result. If result is negative (loss), bet doubles and loss streak increments. If result is positive (win), bet resets to base and loss streak resets. If result is zero (push), state remains unchanged.
Value parameters
ctx
The customer entity's context.
result
The outcome of the game round.
Attributes
Returns
A new MartingaleStrat instance with updated state.