This commit is contained in:
2023-12-07 16:16:15 +01:00
parent 36be240e31
commit 4c48419721
2 changed files with 20 additions and 0 deletions

View File

@@ -11,12 +11,20 @@
#define NBR_POMME 5
#define TAILLE_SERPENT 10
struct serpent {
int* ;
int* queue;
}
int** plateau_init(void) {
int ligne_pomme, colonne_pomme, i;
int** tableau = NULL;
struct serpent
srand(time(NULL));
@@ -38,6 +46,7 @@ int** plateau_init(void) {
tableau[((LIGNES/2)-5)+i][COLONNES/2] = 1;
serpent
}