[Libgdx] First game: Breakout clone -- ball randomly does not deflect off wall

Hi all,

New to Java, libgdx and programming in general. I have no experience in programming prior to this. No CS degree, so my knowledge of the theory behind computers and math is really poor. Spent 2 months on C and objective-c before hopping on to the libgdx and java bandwagon. After a week of trying, I finally completed(sort of) a breakout clone.

Problem: the ball goes crazy at random and sticks to the wall/paddle when it should deflect itself off. Here’s the link to my files: https://github.com/crazyhendrix/libGDX-BreakOut

I was hoping someone can go through my code and see if I could have done things a little better.