The monitor may turn off when you play games because the game is using a lot of power. This can cause the computer to overheat, so it turns off to prevent damage.