début de correction du snake en ISN

This commit is contained in:
Bertrand Benjamin 2017-11-02 05:19:19 +03:00
parent 2474c2be2f
commit 818cf47c43
1 changed files with 22 additions and 0 deletions

22
ISN/snake_corr.py Normal file
View File

@ -0,0 +1,22 @@
import pygame
pygame.init()
largeur = 600
hauteur = 400
windowSurface = pygame.display.set_mode((largeur, hauteur), 0,32)
WHITE = (255, 255, 255)
running = True
while running:
pygame.draw.line(windowSurface, WHITE, (0,10), (600,10))
pygame.display.update()
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
pygame.quit()