So I have discovered this awesome game framework called Love2D that uses Lua. I am in love with it and am still very new to it. I have practiced to some extent. I am trying to create a simple Pong game in Love2D but I have no idea how do I code the ball to detect wall collision player collision and go other direction and stuff like that. Can someone please help me? Here's the project zip file in google drive.
https://drive.google.com/file/d/1UvA1q5GHJ5k2xj_87GIlTpmzR81Kzq-a/view?usp=shari...