Question Getting black screen with specific games ?

Sep 8, 2020
5
0
10
So I have had this pc for a year and a half now, and haven't changed anything about it. But, recently, like last few months, I have had this problem where whenever I play some certain games, both my monitors will randomly black screen. I have noticed it happens often when I hit my desk like with my knee or hand. I suspected it was my power cord, but I have taped it to the pc but it still happens. It only happens with Valorant, Apex, and Black Ops 3 for some reason. I have to turn my pc off with the front power button. This pc is a prebuilt from NZXT.

Specs:
ASRock B365
MSI 1660 super
i5 9400f
T Force Vulcan 3000mhz 16gb
512 gb intel 660p ssd
500w bronze PSU