diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 9321a24..bacdd70 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -122,6 +122,7 @@ int main() while (1) { system("clear"); + Generatefield(); for (int i = 0; i < 23; i++) { @@ -136,19 +137,6 @@ int main() buildBin(10,10); - for (int i = 0; i < 29; i++) - { - printf("|"); - for (int j = 0; j < 23; j++) - { - if (i == 0 || i == 29 - 1 || i == 2) - printf("="); - else - printf("%c", field[j][i]); - } - printf("|"); - printf("\n"); - } getStartPosition(); sleep(1);