The Agent will usually walk off the edge of the world, throwing an ArrayOutOfBoundsException. This appears to be due to the dangerScore not being correctly determined as only one dangerScore is >=100 where two of the dangerScores should be >= 100 for being off the edge.
The Agent will usually walk off the edge of the world, throwing an ArrayOutOfBoundsException. This appears to be due to the dangerScore not being correctly determined as only one dangerScore is >=100 where two of the dangerScores should be >= 100 for being off the edge.