mazeFinder.py
def actions(self, state):
        '''
        Used to get all posible actions for a state. List is shuffled
        so that a depth first search doesn't just loop one action that
        can't be performed for a given state.
        '''
        actionList = ["Move Up", "Move Down", "Move Right", "Move Left"]
        random.shuffle(actionList)
        return actionList

        Used to get all posible actions for a state. List is shuffled
        so that a depth first search doesn't just loop one action that
        can't be performed for a given state.
        
Used to get all posible actions for a state. List is shuffled
so that a depth first search doesn't just loop one action that
can't be performed for a given state.
Used to get all posible actions for a state . List is shuffled so that a depth first search doesn ' t just loop one action that can ' t be performed for a given state .
def actions(self, state):
        actionList = ["Move Up", "Move Down", "Move Right", "Move Left"]
        random.shuffle(actionList)
        return actionList
def actions ( self , state ) : actionList = [ "Move Up" , "Move Down" , "Move Right" , "Move Left" ] random . shuffle ( actionList ) return actionList
Used to get all posible actions for a state.
Used to get all posible actions for a state .
'''
        Used to get all posible actions for a state. List is shuffled
        so that a depth first search doesn't just loop one action that
        can't be performed for a given state.
        '''
self
state