diff --git a/Car Racing/RaceGame.py b/Car Racing/RaceGame.py index 4334343..b8195e5 100644 --- a/Car Racing/RaceGame.py +++ b/Car Racing/RaceGame.py @@ -1,7 +1,10 @@ -#!/usr/bin/python3 -import pgzrun +#!/usr/bin/env python3 from random import randint # import randint module from random lib +import pgzrun + +Actor, keyboard, screen = Actor, keyboard, screen # noqa: F821 pgzrun magically defines these + WIDTH = 700 # width of the window HEIGHT = 800 # height of the window trackLeft = [] # list to store left barriers