SAE11_2023/JEUX_SERPENT/main.c

17 lines
439 B
C
Raw Normal View History

2023-11-21 13:28:42 +01:00
#include<stdlib.h>
#include<graph.h>
2023-11-21 13:58:39 +01:00
int main(){
2023-11-21 13:28:42 +01:00
InitialiserGraphique();
2023-11-21 13:58:39 +01:00
CreerFenetre(10,10,1200,800);
couleur CouleurParComposante(unsigned char r, unsigned char v, unsigned char b);
2023-11-21 13:43:09 +01:00
couleur c;
2023-11-21 13:58:39 +01:00
c=CouleurParComposante(0,0,0);
EffacerEcran(c);
c=CouleurParComposante(141,199,63);
2023-11-21 13:43:09 +01:00
ChoisirCouleurDessin(c);
2023-11-21 13:58:39 +01:00
RemplirRectangle(10,10,1180,700);
Touche();
2023-11-21 13:28:42 +01:00
FermerGraphique();
return EXIT_SUCCESS;
2023-11-20 16:39:52 +01:00
}