I sympathize with you on this - I've had several videogame addictions over the last few years. Mine were slightly different types of games (like Minecraft and Ingress) but I wasted weeks of time on them. And much like you, my work suffered because of them. I tried limiting myself, but I still had involvement the game so it was very hard to maintain a balance between gaming and work.
Eventually I found that the only solution for me was quitting entirely and only playing games that have a low level of commitment (like Angry Birds or 2048). The quitting itself is quite hard (I ended up deleting my accounts to prevent me from being able to go back). But now I feel really good about it.
As a bonus, without the fast-paced rewards system of games to distort my perception, programming is just as fun as videogames were... Oh, and I get money for programming, so that's pretty cool.
Eventually I found that the only solution for me was quitting entirely and only playing games that have a low level of commitment (like Angry Birds or 2048). The quitting itself is quite hard (I ended up deleting my accounts to prevent me from being able to go back). But now I feel really good about it.
As a bonus, without the fast-paced rewards system of games to distort my perception, programming is just as fun as videogames were... Oh, and I get money for programming, so that's pretty cool.