Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Import alias identifier ImportFrom alias Import alias Import alias Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr ListLoad Num BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num For NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Slice Num body Expr Call AttributeLoad NameLoad attr ListLoad Num BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num BinOpSub AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr ListLoad Num AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMult ListLoad ListLoad Num Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub Call NameLoad NameLoad Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice BinOpSub BinOpMult Num NameLoad Num BinOpMult Num NameLoad Assign AttributeStore AttributeLoad SubscriptLoad NameLoad Index NameLoad attr attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice BinOpMult BinOpAdd NameLoad Num Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore TupleLoad NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr NameLoad If SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Num orelse If CompareEq NameLoad Str body AugAssignAdd NameStore Num Assign NameStore Num AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpSub Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Num BinOpMult NameLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice Num AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Slice BinOpAdd Num BinOpMult NameLoad Num BinOpAdd BinOpAdd Num BinOpMult NameLoad Num Num AttributeLoad AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr attr Assign SubscriptStore NameLoad Index BinOpAdd BinOpAdd Num BinOpMult NameLoad Num Num AttributeLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num attr Assign NameStore BinOpAdd Num BinOpMult NameLoad Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad AugAssignAdd NameStore Num orelse If CompareEq NameLoad Str body AugAssignAdd NameStore Num Assign NameStore Num orelse If CompareEq NameLoad Str body Assign NameStore TupleLoad NameLoad BinOpSub AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Num AugAssignAdd NameStore Num AugAssignAdd NameStore Num Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareLt Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign NameStore NameLoad For NameStore Call NameLoad Num Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr ListLoad Num Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list decorator_list
N/A N/A Pacman game domain. rlpy.Tools __rlpy_location__ Domain Domain PacmanPackage layout pacman game ghostAgents PacmanPackage graphicsDisplay N/A numpy np copy deepcopy N/A os N/A time N/A __copyright__ Copyright 2013, RLPy http://acl.mit.edu/RLPy N/A __credits__ N/A Alborz Geramifard Robert H. Klein Christoph Dann William Dabney Jonathan P. How N/A __license__ BSD 3-Clause N/A __author__ Austin Hays Pacman N/A Domain N/A N/A 
    Pacman domain, which acts as a wrapper for the Pacman implementation
    from the BerkeleyX/CS188.1x course project 3.

    **STATE:** The state vector has a series of dimensions:

    * [2] The x and y coordinates of pacman
    * [3 * ng] the x and y coordinates as well as the scare time of each ghost
      ("scare time" is how long the ghost remains scared after consuming a capsule.)
    * [nf] binary variables indicating if a food is still on the board or not
    * [nc] binary variables for each capsule indicating if it is still on the board or not

    *nf* and *nc* are map-dependent, and *ng* can be set as a parameter.
    Based on above, total dimensionality of state vector is map-dependent,
    and given by (2 + 3*ng + nf + nc).

    **ACTIONS:** Move Pacman [up, down, left, right, stay]

    **REWARD:** See the Berkeley project website below for more info.

    .. note::
        The visualization runs as fast as your CPU will permit; to slow things
        down so gameplay is actually visible, de-comment time.sleep()
        in the showDomain() method.

    **REFERENCE:** This domain is an RLPy wrapper for the implementation
    from the `BerkeleyX/CS188.1x course project 3 <https://courses.edx.org/courses/BerkeleyX/CS188.1x/2013_Spring/courseware/Week_9/Project_3_Reinforcement/>`_

    See the original `source code (zipped) <https://courses.edx.org/static/content-berkeley-cs188x~2013_Spring/projects/reinforcement/reinforcement.zip>`_

    For more details of the domain see the original package in the `Domains/PacmanPackage` folder.

     N/A _max_scared_time 39 N/A actions N/A Stop North East South West N/A actions_num 5 N/A episodeCap 1000 N/A default_layout_dir N/A N/A N/A os path join __rlpy_location__ Domains PacmanPackage layouts __init__ N/A N/A self noise timeout layoutFile numGhostAgents N/A 0.1 30 N/A N/A N/A os path join default_layout_dir trickyClassic.lay 1000 N/A N/A 
        layoutFile:
            filename of the map file
        noise:
            with this probability pacman makes a random move instead the one
            specified by the action
         N/A N/A self noise noise N/A N/A self layoutFile layoutFile N/A layout_file_content N/A N/A self _tryToLoad N/A self layoutFile N/A N/A self layout N/A N/A layout Layout layout_file_content N/A N/A self numGhostAgents numGhostAgents N/A N/A self game_state N/A N/A pacman GameState N/A N/A self game_rules N/A N/A pacman ClassicGameRules timeout N/A N/A self layout_copy N/A deepcopy N/A self layout N/A N/A N/A N/A N/A self game_state data initialize N/A self layout_copy N/A self numGhostAgents N/A N/A self num_total_food N/A len N/A N/A N/A N/A self layout_copy food asList N/A N/A self num_total_capsules N/A len N/A N/A self layout_copy capsules N/A N/A N/A self _defaultSettings N/A N/A self restartGraphics None N/A N/A self timerswitch False N/A N/A self savedtimer None N/A N/A self gameDisplay None N/A N/A N/A self _set_statespace_limits N/A N/A N/A N/A super Pacman self __init__ N/A _set_statespace_limits N/A N/A self N/A N/A N/A statespace_limits N/A N/A N/A N/A statespace_limits append N/A 1 N/A N/A N/A self layout width 2 N/A N/A N/A statespace_limits append N/A 1 N/A N/A N/A self layout height 2 N/A ghost N/A N/A N/A N/A self game_state data agentStates N/A 1 N/A N/A N/A N/A statespace_limits append N/A 1 N/A N/A N/A self layout width 2 N/A N/A N/A statespace_limits append N/A 1 N/A N/A N/A self layout height 2 N/A N/A N/A statespace_limits append N/A 0 N/A self _max_scared_time N/A statespace_limits N/A N/A N/A 0 1 N/A N/A self num_total_food N/A self num_total_capsules N/A N/A self statespace_limits N/A N/A np array statespace_limits dtype float N/A _set_state N/A N/A self s N/A N/A N/A 
        Takes a vector s and sets the internal game state used by the original
        pacman package.
         N/A data N/A N/A self game_state data N/A agent_states N/A data agentStates N/A N/A N/A agent_states configuration pos N/A N/A s N/A 0 N/A s N/A 1 N/A num_ghosts N/A N/A len agent_states 1 N/A i N/A range 1 N/A num_ghosts 1 N/A N/A part_s N/A s N/A N/A N/A 3 i 1 N/A 3 i N/A N/A N/A N/A agent_states N/A i configuration pos N/A N/A part_s N/A 0 N/A part_s N/A 1 N/A N/A N/A agent_states N/A i scaredTimer N/A part_s N/A 2 N/A s_food N/A s N/A N/A N/A num_ghosts 1 3 N/A x 0 N/A y 0 N/A i 0 N/A N/A data capsules N/A N/A char N/A str N/A self layout_copy N/A N/A N/A char . N/A N/A N/A N/A N/A data food N/A x N/A y N/A bool N/A s_food N/A i N/A i 1 N/A N/A N/A char o N/A N/A coord N/A x N/A N/A N/A self layout_copy height y N/A N/A s_food N/A i N/A N/A N/A N/A N/A data capsules append coord N/A i 1 N/A N/A N/A char N/A N/A y 1 N/A x -1 N/A x 1 N/A _get_state N/A N/A self N/A N/A N/A 
        get the internal game state represented as a numpy array
         N/A data N/A N/A self game_state data N/A agent_states N/A N/A N/A self game_state data agentStates N/A num_ghosts N/A N/A len agent_states 1 N/A s N/A N/A np zeros N/A N/A N/A 2 N/A num_ghosts 3 N/A self num_total_food N/A self num_total_capsules N/A N/A s N/A 2 N/A N/A N/A agent_states N/A 0 configuration pos N/A i N/A range num_ghosts N/A N/A N/A s N/A N/A 2 N/A i 3 N/A N/A 2 N/A i 3 2 N/A N/A N/A agent_states N/A N/A i 1 configuration pos N/A N/A s N/A N/A N/A 2 N/A i 3 2 N/A N/A agent_states N/A N/A i 1 scaredTimer N/A i N/A 2 N/A num_ghosts 3 N/A x 0 N/A y 0 N/A char N/A str N/A self layout_copy N/A N/A N/A char . N/A N/A N/A s N/A i N/A N/A N/A data food N/A x N/A y N/A i 1 N/A N/A N/A char N/A N/A y 1 N/A x -1 N/A N/A N/A char o N/A N/A coord N/A x N/A N/A N/A self layout_copy height y N/A N/A coord N/A data capsules N/A N/A N/A s N/A i 1.0 N/A i 1 N/A x 1 N/A s N/A N/A state N/A property _get_state _set_state showDomain N/A N/A self a s N/A None N/A N/A N/A s None N/A N/A errStr ERROR: In Pacman.py, attempted to pass a state (s)to showDomain(); Pacman only supports internal states.If you do pass a state parameter, ensure it is set to None. N/A N/A Exception errStr N/A s N/A self game_state N/A N/A N/A self gameDisplay None N/A N/A N/A self gameDisplay N/A N/A graphicsDisplay PacmanGraphics N/A N/A N/A N/A self gameDisplay startGraphics self N/A N/A N/A N/A self gameDisplay drawStaticObjects N/A s data N/A N/A N/A N/A self gameDisplay drawAgentObjects N/A s data N/A N/A N/A self _cleanup_graphics N/A N/A N/A self _cleanup_graphics False N/A N/A N/A N/A self gameDisplay removeAllFood N/A N/A N/A N/A self gameDisplay removeAllCapsules N/A N/A N/A self gameDisplay food N/A N/A N/A self gameDisplay drawFood N/A N/A N/A self gameDisplay layout food N/A N/A N/A self gameDisplay capsules N/A N/A N/A self gameDisplay drawCapsules N/A N/A N/A self gameDisplay layout capsules N/A N/A N/A N/A s data layout food N/A N/A s data food N/A agent N/A range N/A len N/A N/A s data agentStates N/A N/A N/A N/A s data _agentMoved agent N/A N/A N/A N/A self gameDisplay update N/A s data N/A N/A s _foodEaten None N/A N/A s _capsuleEaten None N/A step N/A N/A self a N/A N/A N/A 
        Applies actions from outside the Pacman domain to the given state.
        Internal states accounted for along with scoring and terminal checking.
        Returns a tuple of form (reward, new state vector, terminal)
         N/A N/A N/A N/A N/A self random_state random_sample N/A self noise N/A N/A a N/A N/A N/A self random_state choice N/A N/A self possibleActions N/A a N/A N/A self actions N/A a N/A next_state_p N/A N/A N/A self game_state generateSuccessor 0 a N/A next_state next_state_p N/A i N/A range 1 N/A len N/A N/A N/A self game_state data agentStates N/A N/A N/A N/A N/A next_state isWin N/A N/A next_state isLose N/A N/A N/A ghostOptions N/A N/A N/A pacman GhostRules getLegalActions next_state i N/A randomAction_ind N/A N/A N/A self random_state randint N/A len ghostOptions N/A randomAction N/A ghostOptions N/A randomAction_ind N/A next_state N/A N/A next_state generateSuccessor i randomAction N/A N/A N/A next_state data _foodEaten N/A N/A next_state_p data _foodEaten N/A N/A N/A next_state data _capsuleEaten N/A N/A next_state_p data _capsuleEaten N/A r N/A N/A N/A next_state data score N/A N/A N/A self game_state data score N/A N/A self game_state next_state N/A terminal N/A N/A self isTerminal N/A N/A r N/A N/A self _get_state terminal N/A N/A self possibleActions N/A s0 N/A N/A self N/A N/A N/A 
        re-initializes internal states when an episode starts, returns a s vector
         N/A N/A self game_state N/A N/A pacman GameState N/A N/A self game_rules N/A N/A pacman ClassicGameRules timeout 30 N/A N/A self layout_copy N/A deepcopy N/A self layout N/A N/A self game N/A N/A N/A self game_rules newGame N/A self layout_copy pacman N/A self ghosts N/A DummyGraphics N/A self beQuiet catchExceptions False N/A N/A N/A N/A N/A self game_state data initialize N/A self layout_copy N/A self numGhostAgents N/A N/A self _cleanup_graphics True N/A N/A N/A self state N/A N/A self isTerminal N/A N/A self possibleActions N/A possibleActions N/A N/A self N/A N/A N/A N/A N/A self isTerminal N/A N/A N/A N/A np array N/A 0 N/A possibleActions N/A N/A possibleMoves N/A N/A N/A pacman GameState getLegalActions N/A self game_state agentIndex 0 N/A a possibleMoves N/A N/A N/A N/A possibleActions append N/A N/A N/A self actions index a N/A N/A N/A np array possibleActions N/A isTerminal N/A N/A self N/A N/A N/A 
        Checks whether the game should terminate at the given state.
        (Terminate for failure, ie eaten by ghost or out of time, and for
        success, all food on map eaten.)
        If game should terminate, returns the proper indication to step function.
        Accounts for scoring changes in terminal states.
         N/A N/A N/A N/A N/A self game_state data _lose N/A N/A N/A self game_state data _win N/A _defaultSettings N/A N/A self N/A N/A N/A N/A self ghostNum 2 N/A N/A self ghosts N/A N/A N/A ghostAgents RandomGhost N/A game Agent N/A i N/A range N/A self ghostNum N/A N/A self beQuiet False N/A _tryToLoad N/A N/A self fullname N/A N/A N/A f N/A open fullname N/A grid N/A N/A N/A line strip N/A line f N/A N/A N/A f close N/A grid N/A N/A DummyGraphics N/A object N/A initialize N/A N/A self N/A arg kwargs N/A N/A N/A update N/A N/A self N/A arg kwargs N/A N/A N/A finalize N/A N/A self N/A arg kwargs N/A N/A N/A N/A