We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc6788 commit faafb49Copy full SHA for faafb49
cellular_automata/wa_tor.py
@@ -241,8 +241,7 @@ def get_surrounding_prey(self, entity: Entity) -> list[Entity]:
241
>>> wt.get_surrounding_prey(Entity(False, (1, 0)))
242
[Entity(prey=True, coords=(0, 0), remaining_reproduction_time=5)]
243
"""
244
- coords = entity.coords
245
- row, col = coords
+ row, col = entity.coords
246
surrounding_prey: list[Entity] = []
247
248
# Go through N, S, E, W with two booleans
0 commit comments