diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index 7b7b483..e83214c 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -123,6 +123,9 @@ int main() { system("clear"); Generatefield(); + + int Ball_In_Bin = checkBallPosition(); + for (int i = 0; i < 23; i++) { @@ -219,7 +222,7 @@ void Generatefield() { windForce < 0 ? (Ballx -= windForce * -5) : (Ballx += windForce); } windIntervall++; - + for (int i = 0; i < fieldHeigth; i++) { printf("|");