The best approach is to use a router that supports DD-WRT firmware flashing capability.
After flashing the firmware, you can choose to optimize your router settings specifically for gaming, via QoS.
Proper implementation of QoS or Quality of Service is the solution to your problem.