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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user