print to see and gitignore

This commit is contained in:
Arjun Patel
2019-02-20 17:13:28 -08:00
parent ade293719f
commit 5157e6043d
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
__pycache__
+4
View File
@@ -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()