For the future, dig into yourself and find out what need you were trying to meet by wasting all that time. Maybe it wasn’t 100% a waste, but maybe also there are healthier ways to meet those needs.
Most of all, choose to live with a free conscience for today. It sounds like you’ve already made some admirable changes, but remember you are in control only of what you do today. Let tomorrow worry about itself.
As for me, I had a similar childhood to yours it sounds like. I spent nearly all my waking hours playing video games as a teenager. I eventually picked up guitar and became a bit more social through that hobby. But I was still basically addicted to video games (and porn). It caused a lot of pain early in my marriage (married at 22). I’m 37 now, and when I look back I see a lot of mistakes still, but a lot of growth, too.
I managed with God’s help to save my marriage, kept my family together, and my early background in computers has translated into a very stable lifestyle for my family to enjoy. They’re my mission now. That’s what really helped me change my priorities. I found something more important than following my vices to work on.