From dad47402612729eeb88949e3392c7f4d4e305da8 Mon Sep 17 00:00:00 2001 From: Seppe De Loore Date: Mon, 7 Apr 2025 19:48:04 +0200 Subject: [PATCH] [fix] Reset score when game over. --- breakout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/breakout.py b/breakout.py index 282baaa..c1eae61 100644 --- a/breakout.py +++ b/breakout.py @@ -218,6 +218,7 @@ def main_loop(screen, joystick): if game_state == GAME_OVER: # Game over screen current_score += score + score = 0 high_score.update_high_score(current_score) splash_screen( screen,