Personally I've blocked reddit on my pihole when I'm working and want to force myself to not get distracted (e.g., it's too easy to "just check it for a minute" while waiting for something to build or download, etc.). Of course I'm here, but I find HN less addictive and tend to waste less time here.
You may find doing something similar - block the main domain for your game at your router. Of course it's easy to undo but it's yet another check that you place against yourself so you don't revert to old behaviors.
If you find yourself getting into the same habits but playing/doing something else instead you should think about what is causing you to get into those habits. Maybe talk to a therapist or someone else in your life for help.
You may find doing something similar - block the main domain for your game at your router. Of course it's easy to undo but it's yet another check that you place against yourself so you don't revert to old behaviors.
If you find yourself getting into the same habits but playing/doing something else instead you should think about what is causing you to get into those habits. Maybe talk to a therapist or someone else in your life for help.