fixing the bouncing issues and resetting the game if one of the players
scores 5 points.