Mods
This commit is contained in:
		| @@ -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]: | ||||
|   | ||||
| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Auric Vente
					Auric Vente