diff --git a/main.c b/main.c index 5d3defe..178d570 100644 --- a/main.c +++ b/main.c @@ -32,6 +32,10 @@ void Affichertimeretscore(int m,int n,int score) /*Afficher le temps passé et EcrireTexte(600,650,buff,2); CopierZone(1,0,0,0,930,710,0,0); } +void grandirserpent(int *serpent) + { + + } void DeplacementSerpent(int direction ,int *serpent, int longueur) { @@ -238,6 +242,13 @@ int main() case XK_Right: direction = 2; break; + case XK_space: + switch (Touche()) + { + case XK_space: + break; + } + default: printf("Autre touche\n"); diff --git a/prog b/prog index bb29a15..a3f33c7 100755 Binary files a/prog and b/prog differ