If it did, Scotty would be working on an adtech backend, Bones would be researching ways to make games more addictive and humanity would never have left Earth.
When watching sci-fi movies and TV, I often wonder what happened with the development of gaming, social media, and virtual reality in the timeline of the show. It seems like in most of the cases where they actually get mentioned in sci-fi, it's kind of dystopian.
Star Trek at least shows using the holodeck for leasure, though they don't go into the specifics of using the holodeck for communication (you could be in the "same room" as someone lightyears away!) or for gaming.
Didn't Kirk have to cheat to beat Spock's unbeatable game? Games might not have disappeared, but maybe they changed to be unrecognizable by people that can only travel at slower than warp speed.