(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 in [(Poker.FOLD, -1,), (Poker.CHECK_CALL, -1,)]:
            if self._get_fixed_action(action=a)[0] == a[0]:
                legal_actions.append(a[0])

        a = self._get_env_adjusted_action_formulation(action=(Poker.BET_RAISE, 1,))
        fixed_a = self._get_fixed_action(action=a)
        if a[0] == fixed_a[0]:
            legal_actions.append(Poker.BET_RAISE)

        return legal_actions
def get_legal_actions ( self ) : legal_actions = [ ] for a in [ ( Poker . FOLD , - 1 , ) , ( Poker . CHECK_CALL , - 1 , ) ] : if self . _get_fixed_action ( action = a ) [ 0 ] == a [ 0 ] : legal_actions . append ( a [ 0 ] ) a = self . _get_env_adjusted_action_formulation ( action = ( Poker . BET_RAISE , 1 , ) ) fixed_a = self . _get_fixed_action ( action = a ) if a [ 0 ] == fixed_a [ 0 ] : legal_actions . append ( Poker . BET_RAISE ) return legal_actions