#include #include #include #include #include "images.h" int main(void){ InitialiserGraphique(); ChoisirEcran(0); CreerFenetre(0,0,1024,576); char tirage[50]; int pos_x, pos_y, clic_x, clic_y, im_y, im_x; int i, j; int nb; int tab[40]; int nb_paires=20; int positions[20][4]; ChargerImage("Images/background.png",0,0,0,0,1024,576); /*Initialisation des tableaux*/ for (i=0;i<20;i++){ for (j=0;j<2;j++){ positions[i][j]=0; } for (i=0;i<40;i++){ tab[i]=0; } /*Tirage des images*/ srand(time(NULL)); for (i=0;i<2;i++){ for (j=0;j10;pos_y=pos_y-90){ } for (pos_x=650;pos_x>10;pos_x=pos_x-90){ } Touche(); FermerGraphique(); printf("\n"); return EXIT_SUCCESS; } }