diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 256e384..b1d45db 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -2,6 +2,16 @@ char field[23][29]; +void buildBin(int width, int heigth){ + field[width][heigth] = 'V'; + field[width+1][heigth+1] = '\\'; + field[width+2][heigth+2] = '\\'; + field[width-1][heigth+1] = '/'; + field[width-2][heigth+2] = '/'; + field[width][heigth+1] = ' '; +} + + int main() { while (1) @@ -16,6 +26,8 @@ int main() } } + buildBin(10,10); + for (int i = 0; i < 29; i++) { printf("|");