diff --git a/affichage.c b/affichage.c new file mode 100644 index 0000000..19ce43f --- /dev/null +++ b/affichage.c @@ -0,0 +1,63 @@ +#include +#include + +void DessinerGrille(int x_g, int y_g, int x_fen, int y_fen, int triche){ + int i,j; + int tab[2][2] = {{1,2},{1,2}}; + int x = 0; + int y = 0; + int l_case = (x_fen-((10*x_g)+10))/x_g; + int h_case = (y_fen-((10*y_g)+10))/y_g; + if (triche == 0){ + for(i=10;i