#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, spr, spr2; 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;j