@ -129,10 +129,12 @@ int main()
while (1)
{
clearField();
field[Ballx][Bally -= 1] = 'O';
Generatefield();
int Ball_In_Bin = checkBallPosition();
switch (Ball_In_Bin)
case (1):
@ -174,7 +176,7 @@ int main()
}
field[ballX][BallY -= 1] = 'O';