try to solve smallClassic
This commit is contained in:
@ -564,7 +564,9 @@ class DeepQLearningTest(testClasses.TestCase):
|
||||
pacman = pacmanType(self.layout)
|
||||
|
||||
# Load Ghost Agent
|
||||
ghostType = loadAgent("RandomGhost", nographics)
|
||||
ghost_agent_name="DirectionalGhost"
|
||||
ghostType = loadAgent(ghost_agent_name, nographics)
|
||||
print("using ghost agent", ghost_agent_name)
|
||||
numghosts = 1
|
||||
ghosts = [ghostType(i+1) for i in range(numghosts)]
|
||||
|
||||
|
Reference in New Issue
Block a user