1) Création de l'écran: import pygame pygame.init() dis=pygame.display.set_mode((400,300)) pygame.display.update() pygame.quit() quit() 2) Capture des événements et boucle principale: import pygame pygame.init() dis=pygame.display.set_mode((400,300)) pygame.display.update() pygame.display.set_caption('Jeu du serpent') fin_jeu=False while not fin_jeu: for event in pygame.event.get(): #print(event) #affichache les actions dans la console if event.type==pygame.QUIT: fin_jeu=True pygame.quit() quit() 3) Création du serpen t: import pygame pygame.init() dis=pygame.display.set_mode((400,300)) pygame.display.set_caption('Jeu du serpent') bleu=(0,0,255) rouge=(255,0,0) fin_jeu=False while not fin_jeu: for event in pygame.event.get(): if event.type==pygame.QUIT: f...