From e9d2b5d1d7648900c6790d511ea5e36066123336 Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Wed, 8 Feb 2023 18:30:07 +0100 Subject: [PATCH] Angefangen mit einer Methode --- src/Paper-Bin.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 76d9778..5d4b546 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -53,3 +53,17 @@ int main() return 0; } +void getStartPosition() +{ + int Ballx; + int Bally; + + while (Bally == -1) + { + for (int i = 2, j = 0; i <= 15; i += 2, j++) + { + field[i][Bally] = j + '0'; + } + } +} +