Pong Game

Hi Guys and Gals

Im trying to program a pong game on an 8x8 LED matrix with an arduino Mega, my problem is that I have coded the ball to "bounce" within the 8x8 grid however because im using byte coding to display the bats position dependent on the output from the potentiometer I cannot find a way to make the ball interact with the bat to change the balls trajectory when it collides with the bat, any help here would be much appreciated, thanks.

We are not psychic - we need to see your code.