added fix to game_code to have no curve if the paddle is not moving on contact with the ball