Did it actually say 'bugcheck'? That's not a word I usually associate with actual Windows errors. Also, those errors are almost exclusively on a blackscreen; not inside windows. If it was in a window while your browser was open, I'd guess a scammer had an ad in Kongregate that brought a popup up that looks official, but is a big fat liar.
If you don't have malwarebytes installed, consider getting, and doing a scan with, the free version from their website: malwarebytes.org
good luck.