Sounds like your power supply doesn't have the output that it needs. Playing graphically intensive games, demands more from your PSU, so playing those other games doesn't really prove much.

If you're not getting any errors, and your PC is just outright shutting down, it's almost certainly a PSU issue.