From 8916b023cdc466c0543d7dc92d3618510c6b8258 Mon Sep 17 00:00:00 2001 From: keraudre Date: Thu, 23 Nov 2023 01:26:15 +0100 Subject: [PATCH] =?UTF-8?q?d=C3=A9but=20des=20fichiers=20pour=20la=20progr?= =?UTF-8?q?ammation=20du=20snake?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prog/plateau.c | 17 +++++++++++++++++ prog/snake.c | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 prog/plateau.c create mode 100644 prog/snake.c diff --git a/prog/plateau.c b/prog/plateau.c new file mode 100644 index 0000000..e68ad89 --- /dev/null +++ b/prog/plateau.c @@ -0,0 +1,17 @@ +/* Création du plateau de jeu avec les pastilles et le serpent + + written by Yann KERAUDREN and Titouan LERICHE*/ + + +#include +#include +#define LIGNES 40 +#define COLONNES 60 + +int* plateau(void) { + + int tableau[LIGNES][COLONNES]; + + + return tableau; +} diff --git a/prog/snake.c b/prog/snake.c new file mode 100644 index 0000000..4e24269 --- /dev/null +++ b/prog/snake.c @@ -0,0 +1,8 @@ +#include +#include + + +int main (void) { + + return EXIT_SUCCESS; +}