aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMoisis <moisis.george@yahoo.com>2023-05-17 17:39:05 +0300
committerMoisis <moisis.george@yahoo.com>2023-05-17 17:39:05 +0300
commit0889aaf69cc0d4ca32ce66e000e827bddf6bd162 (patch)
treecc9fb27c27c4b43f3dbb7478f2bbc65f0fa92973 /src
parent38bf9644941393a553e9383176d7ec12f64992f7 (diff)
downloadMacpan-0889aaf69cc0d4ca32ce66e000e827bddf6bd162.tar.xz
Macpan-0889aaf69cc0d4ca32ce66e000e827bddf6bd162.zip
Final Touches
Diffstat (limited to 'src')
-rw-r--r--src/game.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.py b/src/game.py
index 192c356..e211da7 100644
--- a/src/game.py
+++ b/src/game.py
@@ -154,6 +154,7 @@ class Game():
pygame.time.set_timer(timer_event, 1000 * 10, 1)
game_state = GameState(sprites, self.settings)
+ self.score(screen,game_state.score,WIDTH,HEIGHT)
# Set the pacman velocity
dx = 0
@@ -289,7 +290,7 @@ class Game():
self.show_gameover_screen(
screen, game_state, sprites)
game_state.is_pacman_alive = True
- self.score( screen, game_state)
+
else:
# Update the screen
pygame.display.flip()