I remember skipping college classes to play World of Warcraft. Then my graphics card crapped out. So I skipped classes reading psychology books I got from the library. Turns out, my problems were depression and social anxiety, not video games.
I'm lucky that I didn't have issues like that. For me, it was just entertainment, nothing too detrimental. But maybe if I had a computer in my pocket, it would have been different.