Should I leave him?

Recently my boyfriend has found a new love.... his games console! He Ignores me when I am with him, he doesn’t even acknowledge that I’m here. Tonight he’s been sitting on his Xbox for 8 hours, knowing I’m trying to sleep but talking to his friends on the head set. I feel no connection to him anymore, and our relationship is struggling! I’m starting to really resent him because I know it is his fault!!! What should I do?