Ok. You need to be a lot more descriptive about your problem to get any help.
Please answer these basic questions:
What is the game you are playing?
Have you been able to play the game while running Avast before?
You mentioned “so as soon as i reinstalled like the 4th time”: What do you mean by this? What did you re-install and why?
Are you running any other security software (firewall, etc)?