summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.py2
-rw-r--r--strategy.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 92b1982..68aa48e 100644
--- a/gui.py
+++ b/gui.py
@@ -172,7 +172,7 @@ def draw_cell(cell):
# surface = draw_text(cell.name, (0, 0, 0), font_size)
# screen.blit(surface, (cx - (surface.get_width()/2), cy + radius + 5))
- draw_text((cx, cy), str(int(cell.mass)), (255, 255, 255), font_size, False, True)
+ draw_text((cx, cy), str(int(cell.mass))+"/"+str(int(cell.size)), (255, 255, 255), font_size, False, True)
# surface = draw_text(str(int(cell.mass)), (255, 255, 255), font_size)
# screen.blit(surface, (cx - (surface.get_width()/2), cy - (surface.get_height()/2)))
else:
diff --git a/strategy.py b/strategy.py
index da50f9a..d8efe4e 100644
--- a/strategy.py
+++ b/strategy.py
@@ -150,6 +150,4 @@ class Strategy:
gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True)
- gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True)
-
return self.target