Computer reboot after starting starcraft 2 and diablo 2

HI, my computer has reboot itself everytime i try to play starcraft 2 and diablo 2. I have sent my computer to check and all my harware are good. Is it something to do with the games patch? Please advise, thanks.