def METHOD_NAME(self, opponent: Player) -> Action:
    """Actual strategy definition that determines player's action."""
    actions_or_float = super(Gambler, self).METHOD_NAME(opponent)
    if isinstance(actions_or_float, Action):
        return actions_or_float
    return self._random.random_choice(actions_or_float)