Desktop losing Wifi connection during gameplay?

Hey everyone,
I’m not sure if this is connected to the game, but as of the last few days I’ve encountered a new phenomenon where my desktop will suddenly lose Wifi connection. All other devices like iphone will still have strong wifi connection, but my desktop will randomly turn off it’s Wifi, and the only solution to get it back online is to completely reboot the whole computer, once it’s rebooted, the desktop is back online with the Wifi.
I don’t know if it’s just a coincidence, but the only common denominator for when it occurs is that i am playing Wow. It’s never happened any other time other than when i am in the game.
Has any other Imac users encountered this recently? It only started happening a day or two ago.

Ok this is a captain obvious answer, because that’s how I think, so Don’t be mad at me!
Is your router password protected? Somebody nearby could be sponging your wifi and its kicking you off. I live in a trailer park like Jeff Dunham’s Bubbah and every kid here uses everyone elses wifi.