import pygame
pygame.init()
size=[400,400]
screen=pygame.display.set_mode(size)
pygame.display.set_caption("cooooool")
done=False
clock = pygame.time.Clock()
while done==False:
clock.tick(10)
for event in pygame.event.get():
if event.type ==pygame.QUIT:
done=True
Aucun commentaire:
Enregistrer un commentaire