A computer may shut down during games because of overheating, excessive memory use, fan failure, or graphics overload. Cleaning vents and monitoring temperatures can help.