(self)
return legal_actions
Returns:
            list:   a list with none, one or multiple actions of the set [FOLD, CHECK/CALL, BET]
def get_legal_actions(self):
        """

        Returns:
            list:   a list with none, one or multiple actions of the set [FOLD, CHECK/CALL, BET]
        """
        legal_actions = []
        for a_int in [Poker.FOLD, Poker.CHECK_CALL]:
            _a = self._get_env_adjusted_action_formulation(action_int=a_int)
            if self._get_fixed_action(action=_a)[0] == a_int:
                legal_actions.append(a_int)

        adj_a = self._get_env_adjusted_action_formulation(action_int=Poker.BET_RAISE)
        fixed_a = self._get_fixed_action(action=adj_a)
        if ((self.n_raises_this_round < self.MAX_N_RAISES_PER_ROUND[self.current_round])
            and (adj_a[0] == fixed_a[0])):
            legal_actions.append(Poker.BET_RAISE)

        return legal_actions
def get_legal_actions ( self ) : legal_actions = [ ] for a_int in [ Poker . FOLD , Poker . CHECK_CALL ] : _a = self . _get_env_adjusted_action_formulation ( action_int = a_int ) if self . _get_fixed_action ( action = _a ) [ 0 ] == a_int : legal_actions . append ( a_int ) adj_a = self . _get_env_adjusted_action_formulation ( action_int = Poker . BET_RAISE ) fixed_a = self . _get_fixed_action ( action = adj_a ) if ( ( self . n_raises_this_round < self . MAX_N_RAISES_PER_ROUND [ self . current_round ] ) and ( adj_a [ 0 ] == fixed_a [ 0 ] ) ) : legal_actions . append ( Poker . BET_RAISE ) return legal_actions