Boyfriends who choose to game over giving and getting attention from/to their girlfriends

My boyfriend worships his game system and online friends more than anything and sometimes it legit feels like he'd rather just do that.
 He rarely responds to me outside of me being at his house, it's been three months and his mom still doesn't know we're dating or who I even am. 
He is sweet and lovely when he finally lays next to me but then passes out. 
We haven't been sexually active ever so that isn't a factor I don't think. Can someone shed some light on this dark cave I'm stuck in??