.
This commit is contained in:
parent
54bcd9cd6c
commit
84a010af32
20
JEUX_SERPENT/main.c
Normal file
20
JEUX_SERPENT/main.c
Normal file
@ -0,0 +1,20 @@
|
||||
#include<stdlib.h>
|
||||
#include<graph.h>
|
||||
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user