#ifndef SERPENT_H #define SERPENT_H typedef struct { int x; int y; } Segment; void Creation_Serpent(Segment serpent[], int taille); void Afficher_Serpent(Segment serpent[], int taille, int rotation); void Deplacer_Serpent(int *longSerpent, Segment serpent[], int direction, unsigned int vitesse_serpent); void Mort_Serpent(int longSerpent, Segment serpent[], int score, int minutes, int secondes, char texte[], int* rejouer, int* gameover); #define TAILLE_SERPENT_INITIAL 10 #define VITESSE_INITIAL 70U #endif /* SERPENT_H */