Thank you so much for your comment, and yeah I had trouble finding a way to implement the ball physics without it getting stuck and leading to what feels like an unfair situation for the player so I ended up just making the ball bounce at a semi-constant angle whenever it hits one of the walls. If I had more time to work on the game I probably would of come up with a better solution.