import pygame
def load_image(img_path:str, position) -> list:
    image = pygame.image.load(img_path)
    surface = image.convert()
    transparent_color = (0,0,0)
    surface.set_colorkey(transparent_color)
    rect = surface.get_rect(center=position)
    return[image, surface, rect]
    pass
def print_image(image_list:list) -> None:
    image, surface, rect = image_list
    screen_surface.blit(surface,rect)
    pass
pygame.init()

SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600

screen_surface = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT))
pygame.display.set_caption('AURA MONSTER')
clock = pygame.time.Clock()
player_pos = [SCREEN_WIDTH //2, SCREEN_HEIGHT // 2]
player = load_image("Tung-Tung-Tung-Sahur-Transparent-HQ.png", player_pos)
game_status = True
while game_status:
    events = pygame.event.get()
    pygame.display.update()
    for event in events:
        if event.type == pygame.QUIT:
            game_status = False
    print_image(player)
    pygame.display.update()
    clock.tick(60)

pygame.quit()
quit()
