import pygame
pygame.init()
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
screen_surface = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT))
pygame.display.set_caption("CHUJ")
game_status = True
def load_ing(path: str, posistion):
    image = pygame.image.load(path)
    surface = image.convert()
    t_color = (0,0,0)
    surface.set_colorkey(t_color)
    rect = surface.get_rect(center=posistion)
    return [image,surface,rect]
def print_ing(imgData):
    image,surface,rect = imgData
    screen_surface.blit(surface, rect)
    pass
player_pos = [SCREEN_WIDTH // 2, SCREEN_HEIGHT //2]
player = load_ing('player.png', player_pos)
while(game_status):
    events = pygame.event.get()
    for event in events:
        if event.type == pygame.QUIT:
            game_status = False
    print_ing(player)
    pygame.display.update()
    pass
pygame.quit()
quit()