My computer freezes when playing games

my computer freezes when playing games

I have the same problem as described on the original post My computer freezes while playing games only. Can someone please help me with.
My pc keeps freezing while i play games and i have no idea why I tried Does the computer become unresponsive to mouse and keyboard,  Computer freezing while playing games?.
Essentially, what's happening is this - If I start playing a game, my computer freezes up, doesn't accept any prompts, doesn't even accept.

Carbon: My computer freezes when playing games

My computer freezes when playing games 24
My computer freezes when playing games Fishing reel
My computer freezes when playing games 538
My PC freezes and shuts down while playing games
my computer freezes when playing games