Computer completely shuts off randomly

v3Carbon

Honorable
Dec 14, 2013
2
0
10,510
I was playing Battlefield 4, when all of a sudden my computer completely lost power, and just shut down. At first i thought maybe there was a power cut, but i realized my monitor was still working but with just a black screen ( no input from pc ). I tried turning the computer back on but nothing was happening, and i could also smell a burning smell. About 2 minutes later i pressed the power button again and it began working. After 5 minutes while on youtube and facebook it completely lost power again. Now im not too sure what to do, i havent been on my computer since this has happened ( Yesterday ). So whats the problem and what should i consider doing?
My specs are:
Intel Core i7-3770K Unlocked
2GB NVIDIA GeForce GTX 660
8GB of RAM
Im not sure about the PSU.