akolgano / ft_transcendence

ft_transcendence 42 school
0 stars 0 forks source link

Fix bug pong #72

Open barbayjuliette opened 1 day ago

barbayjuliette commented 1 day ago

Fixed bug when hitting the ball

Please test the game and let me know what you think.

We have this case when it hits the ball from the side, the bounce is a bit weird, but I think it should be okay. What do you think? https://github.com/user-attachments/assets/0f23762c-c5df-408d-b44b-5da419e072af

The ball gets faster every time you hit the ball, but once someone scores, the ball's speed resets.