print to see and gitignore
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
__pycache__
|
||||||
@@ -72,6 +72,10 @@ class ReflexAgent(Agent):
|
|||||||
newFood = successorGameState.getFood()
|
newFood = successorGameState.getFood()
|
||||||
newGhostStates = successorGameState.getGhostStates()
|
newGhostStates = successorGameState.getGhostStates()
|
||||||
newScaredTimes = [ghostState.scaredTimer for ghostState in newGhostStates]
|
newScaredTimes = [ghostState.scaredTimer for ghostState in newGhostStates]
|
||||||
|
print(newPos)
|
||||||
|
print(newFood)
|
||||||
|
print(newGhostStates)
|
||||||
|
print(newScaredTimes)
|
||||||
|
|
||||||
"*** YOUR CODE HERE ***"
|
"*** YOUR CODE HERE ***"
|
||||||
return successorGameState.getScore()
|
return successorGameState.getScore()
|
||||||
|
|||||||
Reference in New Issue
Block a user