ça marche bordel

This commit is contained in:
cyjullien1
2024-12-12 17:21:20 +01:00
parent d1065e68fe
commit 60d3e09293
4 changed files with 123 additions and 32 deletions

View File

@@ -3,11 +3,12 @@
void screenDisplay( unsigned short int **tab,int size)
{
char element[7] ={' ','#','S','.','*','@','+'} ;
for(int i=0;i<size;++i)
{
for(int j=0;j<size;++j)
{
printf("%hu ",tab[i][j]);
printf("%c ",element[tab[i][j]]);
}
puts("");
}