Why dose my desktop keep turning of when running a GAME?

when ever i put on a game my desktop turns of and i have to reboot it all the way

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:02crwdne2944067:0:

Most likely because the game overloads the CPU or the GPU (or both) and as a protective measure from overheating the desktop shuts down.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

@jordanfixe41169 Have you checked to make sure that the power supply isn't shutting down? I would also check the CPU and GPU temperatures.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0