The games do not. Sitting still for six hours does.
Weight gain tracks total energy balance, and gaming contributes to it only by keeping you seated and often within reach of snacks. The same is true of reading, studying or a desk job — the activity is incidental and the inactivity is the variable.
Standing up every hour is a small change that addresses the actual mechanism.