It may be a temperature problem, since it runs games for a while and then shuts down.
Go download Core Temp or similar utility : Core Temp and check the temperature of the CPU. If it is over 60 C while idle then there is a problem.
Check your CPU Fan and other fans that they are clogged with dust. Get a can of air and blow them clean.
Go download Core Temp or similar utility : Core Temp and check the temperature of the CPU. If it is over 60 C while idle then there is a problem.
Check your CPU Fan and other fans that they are clogged with dust. Get a can of air and blow them clean.