diff --git a/a.out b/a.out new file mode 100755 index 0000000..9253acb Binary files /dev/null and b/a.out differ diff --git a/snake3.c b/snake3.c new file mode 100644 index 0000000..5d70734 --- /dev/null +++ b/snake3.c @@ -0,0 +1,15 @@ + +#include +#include + +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; +} diff --git a/snake3.c~ b/snake3.c~ new file mode 100644 index 0000000..3be9f5e --- /dev/null +++ b/snake3.c~ @@ -0,0 +1,15 @@ + +#include +#include + +int main(void) { + couleur c; + InitialiserGraphique(); + CreerFenetre(10,10,500,500); + c=CouleurParNom("red"); + c=CouleurParComposante(255,0,0); + + Touche(); + FermerGraphique(); + return EXIT_SUCCESS; +}