2017-2018/ISN/pygame_base.py

17 lines
274 B
Python
Raw Normal View History

2017-10-29 07:33:01 +00:00
import pygame
pygame.init()
largeur = 600
hauteur = 400
windowSurface = pygame.display.set_mode((largeur, hauteur), 0,32)
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
pygame.quit()