j'ai oublier de git add mais maintenant c'est fait

This commit is contained in:
2023-12-22 14:08:18 +01:00
parent 0c73a06f68
commit ed6ab539bf
26 changed files with 601 additions and 260 deletions

17
pastille.h Normal file
View File

@@ -0,0 +1,17 @@
#include "serpent.h"
#ifndef PASTILLE_H
#define PASTILLE_H
typedef struct
{
int x;
int y;
} Pastille;
void Creation_Pastille(int z, Pastille pomme[], int longueurSerpent, Segment serpent[]);
void Afficher_Pastille(int z, Pastille pomme[]);
void Validation_Coordonne(int z, Pastille pomme[], int longueurSerpent, Segment serpent[], Pastille* indice_pomme);
#define NBR_PASTILLE_INITIAL 5
#endif /* PASTILLE_H */