import pygame
def main():
#variaveix
pygame.init()
tela = pygame.display.set_mode([300, 300])
pygame.display.set_caption('THE GAME')
relogio = pygame.time.Clock()
branco = (255,255,255)
azul = (0,255,255)
verde = (0,255,0)
sup = pygame.Surface((200,200))
sup.fill(azul)
sup2 = pygame.Surface((100,100))
sup2.fill(verde)
sair=False
while sair !=True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
sair = True
if event.type == pugame.MOUSEMOTION
sup2 =sup2.move(10, 10)
relogio.tick(27)
tela.fill(branco)
tela.blit(sup,[50,50])
tela.blit(sup2,[70,70])
pygame.display.update()
pygame.quit()
main()