début des fichiers pour la programmation du snake

This commit is contained in:
2023-11-23 01:26:15 +01:00
parent edadb27e2e
commit 8916b023cd
2 changed files with 25 additions and 0 deletions

17
prog/plateau.c Normal file
View File

@@ -0,0 +1,17 @@
/* Création du plateau de jeu avec les pastilles et le serpent
written by Yann KERAUDREN and Titouan LERICHE*/
#include <stdlib.h>
#include <stdio.h>
#define LIGNES 40
#define COLONNES 60
int* plateau(void) {
int tableau[LIGNES][COLONNES];
return tableau;
}

8
prog/snake.c Normal file
View File

@@ -0,0 +1,8 @@
#include <stdlib.h>
#include <stdio.h>
int main (void) {
return EXIT_SUCCESS;
}