Browse Source

Anpassung der Main Methode

main
David PC Saiz 2 years ago
parent
commit
4e5687b41f
  1. 14
      src/Paper-Bin.c

14
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);

Loading…
Cancel
Save