Instead of gaming when bored or frustrated, go exercise. The release of endorphins caused by the usage of energy will provide a more euphoric and fun feeling than playing a game.
Or do what I do and use Hydrocodone/Oxycontin. It provides an excellent euphoric feeling since its an opiate. Careful though opiates are addictive. If you have ever broken/sprained or had surgery before then look wherever you keep your pills. Look for anything that says its for pain. Start with 3. Give it an hour, if nothing take one more. Watch for the acetaminophen, don't go over 4000mg whiten 24 hours. It will kill your liver. Opiates help me, I think clearly, they make me happy and i can actually study while on them. So good luck studying.