you're probably resetting your brain's systems and reassuring your brain that, yes, there are systems with a logical flow from action to consequence to success and reward! Probably not a bad way to avoid burnout.
I also think that video games give you small victories and and sense of achievement, and failure can be undone. It's a good (albeit unrealistic) type of positive reinforcement that keeps me from getting too hard on myself.