import pygame
pygame.init()
screen = pygame.display.set_mode((600,300))
pygame.display.set_caption("Ведьмак")
pygame.display.set_icon(pygame.image.load("images/icon.jpg"))
square = pygame.Surface((50,170))
square.fill("Blue")
myfont = pygame.font.Font("icon/Schol Waverly.zip", 40)
text_surface =myfont.render('icon/Schol Waverly.zip', False, (0, 0, 0), 0)
i = True
while i:
pygame.draw.circle(screen,"Red", (10,7), 5)
screen.blit(square, (10,0))
screen.blit(text_surface,(300,50))
pygame.display.update()
for event in pygame.event.get():
if event.type == pygame.QUIT:
i = False
pygame.quit()