From ab13608728916674d77a4844396f21a6a4f1e85c Mon Sep 17 00:00:00 2001 From: SAE11_2023 Date: Tue, 21 Nov 2023 15:30:33 +0100 Subject: [PATCH] ajout du timer 1 --- JEUX_SERPENT/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/JEUX_SERPENT/main.c b/JEUX_SERPENT/main.c index b4b03e6..6c0d9b7 100644 --- a/JEUX_SERPENT/main.c +++ b/JEUX_SERPENT/main.c @@ -16,9 +16,14 @@ int main(){ ChoisirCouleurDessin(c); RemplirRectangle(10,10,1180,700); + /* affichage du timer */ + c=CouleurParComposante(255,255,255); + ChoisirCouleurDessin(c); + EcrireTexte(10,770,"Hello World !",2); + + /* fermeture de la fenĂȘtre */ Touche(); FermerGraphique(); - return EXIT_SUCCESS; } \ No newline at end of file