Blue screen error

Shammikit

Honorable
Nov 30, 2013
174
0
10,690
yesterday when i was playing a game my PC switched off twice unexpectedly.the third time a blue screen poped up and the pc freezed.what could be the reason? is it a software corruption or any fault in the hardware.i checked the cpu temperature and it was at 39C .that looks ok to me.can some one please help me figure out what it is.Thankyou.