diff --git a/src/main/c/Pong/game.c b/src/main/c/Pong/game.c index f0f382e..4030b11 100644 --- a/src/main/c/Pong/game.c +++ b/src/main/c/Pong/game.c @@ -102,6 +102,10 @@ int main(){ paddle2PositionY++; } } + + //Bewegung Ball + ball.x += ball.speedX; + ball.y += ball.speedY; draw Field(paddle1PositionY, paddle2PositionY);