This commit is contained in:
Auric Vente 2024-07-19 00:59:34 -06:00
parent dce647cced
commit db78a855d4
2 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@ class Ant:
self.updated = now self.updated = now
self.name = "" self.name = ""
self.status = "" self.status = ""
self.hits = 0
self.triumph = 0 self.triumph = 0
self.hits = 0
self.color: tuple[int, int, int] self.color: tuple[int, int, int]
def to_dict(self) -> dict[str, Any]: def to_dict(self) -> dict[str, Any]:

View File

@ -183,13 +183,13 @@ class Game:
hits = Ants.most_hits() hits = Ants.most_hits()
if hits:
text.append(f"Most{nb}Hits:{nb}{hits.name}")
triumph = Ants.most_triumph() triumph = Ants.most_triumph()
if triumph: if triumph:
text.append(f"Most{nb}Triumph:{nb}{triumph.name}") text.append(f"Triumph:{nb}{triumph.name}")
if hits:
text.append(f"Hits:{nb}{hits.name}")
Window.info.setText(" | ".join(text)) Window.info.setText(" | ".join(text))
Window.info.adjustSize() Window.info.adjustSize()