From 84a010af32c5ce1761dfe4119b9593463574fa61 Mon Sep 17 00:00:00 2001 From: SAE11_2023 Date: Wed, 22 Nov 2023 13:36:41 +0100 Subject: [PATCH] . --- JEUX_SERPENT/main.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 JEUX_SERPENT/main.c diff --git a/JEUX_SERPENT/main.c b/JEUX_SERPENT/main.c new file mode 100644 index 0000000..4c6e3fa --- /dev/null +++ b/JEUX_SERPENT/main.c @@ -0,0 +1,20 @@ +#include +#include + +int main(){ + + /* taille de la fenĂȘtre */ + InitialiserGraphique(); + CreerFenetre(10,10,1200,800); + + /* Couleur de la fenĂȘtre */ + EffacerEcran(CouleurParComposante(0,0,0)); + ChoisirCouleurDessin(CouleurParComposante(141,199,63)); + RemplirRectangle(10,10,1180,700); + + /* fermeture de la fenĂȘtre */ + Touche(); + FermerGraphique(); + + return EXIT_SUCCESS; +} \ No newline at end of file