sorry i forgot to put it in the post and i dont think i can edit it
my comp keeps shutting down randomly without warning while playing games
here is a list of the games im playing and how long before shut down
rainbow 6 siege-2-3 hours before shutdown
elder scrolls online -3-4 hours before shutdown
unturned-30mins-1hour before shutdown
ark survival singleplayer-4ish hours before shutdown
ark survival multiplayer-1-2 hours before shutdown
ark sotf-30mins-1hour before shutdown
rocket league-never
payday 2-never
planet side 2-never
i know all of these games are hard to run but im not on that high of settings and i have good specs
r6s-all medium settings
eso-low-med settings
unturned-med-high settings
all arks-lowest settings
RL-max settings
pd2-max settings
ps2-high-max settings
note i know the date of the picture is old but this has been happening even before that date
note all of the specs are what they came with when i bought the comp except for the graphics card (the old one was a "gt 730 and the new one is a "gtx 1050")
note were im living right now the power isn't to good (cause its a older house) for example if you have a heater and hair dryer on at the same time the power will go out, so i was thinking my comp might be taking to much power, but my monitor is in the same plug and when my comp turns of it doesn't turn the monitor off.
last note i already blew out the dust with a air can (only once)
any help would be nice

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic