From 4e5687b41f2e5a4ffc8e04c164046707e37ad5ca Mon Sep 17 00:00:00 2001 From: David PC Saiz Date: Wed, 8 Feb 2023 20:47:39 +0100 Subject: [PATCH] Anpassung der Main Methode --- src/Paper-Bin.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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);