Closed samm81 closed 10 years ago
start array([[ True, True, True, True, True, True, True], [ True, False, False, True, False, True, True], [ True, True, True, False, False, False, True], [ True, False, True, True, True, False, True], [ True, False, True, False, False, False, True], [ True, False, True, False, False, False, True], [ True, True, True, True, True, True, True]], dtype=bool) n = game.numNeighbors(start) n array([[1, 1, 1, 1, 1, 1, 1], [1, 7, 6, 5, 5, 6, 1], [1, 6, 5, 5, 4, 5, 1], [1, 7, 5, 5, 2, 4, 1], [1, 6, 4, 5, 2, 4, 1], [1, 7, 5, 5, 3, 5, 1], [1, 1, 1, 1, 1, 1, 1]])
n[2, 3] should be 4 not 5
resolved
n[2, 3] should be 4 not 5