Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "game.h"
- int main(void)
- {
- int tableau[TAILLE_RANGEE][TAILLE_COLONNE]={0};
- int i=0, j=0;
- tableau[1][1]=1;
- for(j=0;j<TAILLE_COLONNE;j++)
- tableau[0][j]=2;
- for(j=0;j<TAILLE_COLONNE;j++)
- tableau[TAILLE_RANGEE-1][j]=2;
- for(i=0;i<TAILLE_RANGEE;i++)
- tableau[i][0]=2;
- for(i=0;i<TAILLE_RANGEE;i++)
- tableau[i][TAILLE_COLONNE-1]=2;
- Deplacer_T(tableau);
- printf("\n\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement