Aggiorna la gestione della risoluzione nel file .env e modifica la funzione win_screen per supportare la visualizzazione dei punteggi

This commit is contained in:
2024-12-23 18:31:50 +01:00
parent 9553b4b4e2
commit 3aa9c84b54
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ class MiceMaze(controls.KeyBindings):
if not self.game_end[1]:
self.engine.win_screen("Game Over: Mice are too many!", image=self.assets["BMP_WEWIN"])
else:
self.engine.win_screen(f"You Win! Points: {self.points}", image=self.assets["BMP_WEWIN"])
self.engine.win_screen(f"You Win! Points: {self.points}", image=self.assets["BMP_WEWIN"], scores=self.read_score())
return True