diff --git a/build/artifacts/release/Paper-Bin.out b/build/artifacts/release/Paper-Bin.out index 9d42ece..8f72899 100644 Binary files a/build/artifacts/release/Paper-Bin.out and b/build/artifacts/release/Paper-Bin.out differ diff --git a/build/release/Paper-Bin.out b/build/release/Paper-Bin.out index 9d42ece..8f72899 100755 Binary files a/build/release/Paper-Bin.out and b/build/release/Paper-Bin.out differ diff --git a/build/release/out/c/Paper-Bin.o b/build/release/out/c/Paper-Bin.o index ef09ece..0130d94 100644 Binary files a/build/release/out/c/Paper-Bin.o and b/build/release/out/c/Paper-Bin.o differ diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 4567f4b..256e384 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -1,7 +1,36 @@ #include + +char field[23][29]; + int main() { - // printf() displays the string inside quotation - printf("Hello, World!"); + while (1) + { + system("clear"); + + for (int i = 0; i < 23; i++) + { + for (int j = 0; j < 29; j++) + { + field[i][j] = ' '; + } + } + + 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"); + } + sleep(1); + } + return 0; }