From cdff42f38f3f4d607d172d520a7e7c360c0380f3 Mon Sep 17 00:00:00 2001 From: Adam Jurkiewicz Pythonista Local Date: Tue, 17 Mar 2026 13:37:48 +0100 Subject: [PATCH] pong - text --- dzien_01/d_04_pong.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzien_01/d_04_pong.py b/dzien_01/d_04_pong.py index e665bd9..6ee283f 100644 --- a/dzien_01/d_04_pong.py +++ b/dzien_01/d_04_pong.py @@ -19,7 +19,7 @@ odleglosc = ship.distance_to(sprite) def napis(): winner_txt = f"Odległość: {odleglosc} w pixelach" screen.draw.text( - winner_txt, (WIDTH // 3, HEIGHT // 2), color="red", fontsize=60 + winner_txt, (WIDTH // 3, 20), color="red", fontsize=60 ) # Najważniejsze funkcje sterujące def update():