main.py aktualisiert

This commit is contained in:
2025-07-02 14:58:15 +02:00
parent 443f3ee05f
commit 79d0e88f0d

View File

@@ -638,7 +638,7 @@ async def show_game_over(score):
overlay.fill((0, 0, 0)) overlay.fill((0, 0, 0))
screen.blit(overlay, (0, 0)) screen.blit(overlay, (0, 0))
font_big = pygame.font.SysFont(None, 72) font_big = pygame.font.SysFont(None, 72)
message = f"Spiel beendet! Punkte: {int(score)}%" message = f"Spiel beendet! Punkte: {int(score)}%. Drücke die Leertaste um deine Punkte zu übermitteln."
text = font_big.render(message, True, (255, 255, 255)) text = font_big.render(message, True, (255, 255, 255))
screen.blit(text, (SCREEN_WIDTH // 2 - text.get_width() // 2, SCREEN_HEIGHT // 2 - text.get_height() // 2)) screen.blit(text, (SCREEN_WIDTH // 2 - text.get_width() // 2, SCREEN_HEIGHT // 2 - text.get_height() // 2))
pygame.display.flip() pygame.display.flip()