import pygame from input import Input from kart import Kart Vec2 = pygame.Vector2 player = Kart( name = "epsilon", pos = Vec2(0, 0), vel = Vec2(2, 0), dir = 0, speed_max = 10, ) def main(): pygame.init() input = Input() width, height = 800, 600 screen = pygame.display.set_mode((width, height)) pygame.display.set_caption("Pygame Window Example") while not input.close: input.poll() if __name__ == "__main__": main()