diff --git a/cromulant/ants.py b/cromulant/ants.py index a1c4ec7..9772fe5 100644 --- a/cromulant/ants.py +++ b/cromulant/ants.py @@ -17,8 +17,8 @@ class Ant: self.updated = now self.name = "" self.status = "" - self.hits = 0 self.triumph = 0 + self.hits = 0 self.color: tuple[int, int, int] def to_dict(self) -> dict[str, Any]: diff --git a/cromulant/game.py b/cromulant/game.py index 5094cfc..677801b 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -183,13 +183,13 @@ class Game: hits = Ants.most_hits() - if hits: - text.append(f"Most{nb}Hits:{nb}{hits.name}") - triumph = Ants.most_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.adjustSize()