From 024c780eb7bb934071238dd2bfc48d5b431f8810 Mon Sep 17 00:00:00 2001 From: Eric Busboom Date: Fri, 27 Jun 2025 22:27:18 +0000 Subject: [PATCH] Clean up whitespace in 01_move.py for improved readability --- lessons/01_Physics_for_Games/01_move.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lessons/01_Physics_for_Games/01_move.py b/lessons/01_Physics_for_Games/01_move.py index fefe326..9ebc459 100644 --- a/lessons/01_Physics_for_Games/01_move.py +++ b/lessons/01_Physics_for_Games/01_move.py @@ -8,6 +8,7 @@ """ import pygame + # Initialize Pygame pygame.init() @@ -39,7 +40,6 @@ def main(): while running: - # Event handling for event in pygame.event.get(): @@ -51,7 +51,6 @@ def main(): # with a boolean value of whether they are pressed or not keys = pygame.key.get_pressed() - # Calculate the change tin the position d_x = 0 d_y = 0