My pc keeps turning off and on when i try and play games

Oct 15, 2018
1
0
10
I reascently got a new pc and now when i try play games it just reboots. Ive tried looking online, updating drivers, cleaning the pc and re-installing my games bit nothing seems to work, i dont believe i have a virus either as i hang realy gone on websites or downloaded anything appart from games and microsoft office programs

Specs
CPU- Intel core i5 2.80GHz, 2808 Mhz, 6 cores

Graphics card- NVIDIA GeForce GTX 1050 Ti

RAM-16GB 1330MHz

Motherboard- ASUSTeK PRIMe H310M-E