This commit is contained in:
Soraya KHADIR 2023-11-27 17:04:51 +01:00
parent c34e44ed8b
commit f3aa5365f3
3 changed files with 30 additions and 0 deletions

BIN
a.out Executable file

Binary file not shown.

15
snake3.c Normal file
View File

@ -0,0 +1,15 @@
#include<stdlib.h>
#include<graph.h>
int main(void) {
couleur c;
InitialiserGraphique();
CreerFenetre(10,10,500,500);
c=CouleurParNom("green");
c=CouleurParComposante(161,232,90);
EffacerEcran(c);
Touche();
FermerGraphique();
return EXIT_SUCCESS;
}

15
snake3.c~ Normal file
View File

@ -0,0 +1,15 @@
#include<stdlib.h>
#include<graph.h>
int main(void) {
couleur c;
InitialiserGraphique();
CreerFenetre(10,10,500,500);
c=CouleurParNom("red");
c=CouleurParComposante(255,0,0);
Touche();
FermerGraphique();
return EXIT_SUCCESS;
}