summaryrefslogtreecommitdiff
path: root/strategy.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-25 00:24:33 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-25 00:24:33 +0200
commit86db90367b3afb0d5b3c552d22c729255356028f (patch)
tree483fd03cb29f95c6615b512fbe3454cd9bd470ea /strategy.py
parent831445ee305ffef18504e825646cf8e352c48385 (diff)
less spam
Diffstat (limited to 'strategy.py')
-rw-r--r--strategy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/strategy.py b/strategy.py
index 6ca383f..dbe7cd1 100644
--- a/strategy.py
+++ b/strategy.py
@@ -162,7 +162,7 @@ class Strategy:
try:
my_cell.movement_angle
except AttributeError:
- print("FUUUU")
+ print("cannot calculate shoot angle, too few backlog")
continue
# check if ejecting mass would feed one friend
possibly_feedable_cells = list(filter(lambda c : can_feed(my_cell, c), self.c.world.cells.values()))
@@ -241,7 +241,6 @@ class Strategy:
if self.target_cell not in self.c.world.cells.values() or (not self.edible(self.target_cell) and not self.target_cell in friendly_cells):
self.target_cell = None
self.has_target = False
- print("target_cell does not exist any more")
elif self.target == tuple(self.c.player.center):
self.has_target = False
print("Reached random destination")