<human>: Could you distill the essence of the text into 1-3 sentences?

Before my SO and I began dating, I was mostly independent, in that I could hang out by myself and sit around and watch netflix and get homework done and run some errands, and that would be my usual day. My close friends have already graduated college, or they attend different schools altogether, so really, I just keep to myself. 

Enter my SO, we'll call him Sam. We'd met several times before we actually started talking, and then once the school year started, we hit it off fairly quickly. He was commuting to school, so we would hang out on campus early on, and then eventually he started staying in town at my place, I guess to save on gas. I very much enjoyed his company, since I'm usually just hanging out with myself. 

Fast forward to five months later, Sam has gotten a place with a former roommate and I start hanging out at his place more often. It goes from alternating staying at my place and his place, to basically staying at his place. We'd watch things together and then sometimes we would be in the same room working on something different, or I'd be downstairs watching TV while he's upstairs playing videogames or whatever.

Now the problem we've run into is his need for space and time to hang out with his friends.

How do I learn how to not get upset when he wants to hang out with his friends? I guess my trouble is that he would prefer to spend his free time with his friends or being alone to mess around on a game and shoot the shit on reddit. I'm genuinely asking how do I not get offended or "hurt" that he wants to spend time away from me. 

I know that I have a lot to work to do on my end, and I've been trying (and failing), but mostly I'm just trying to understand because I don't really need space...I feel like I get the space I need when he goes of to class and isn't home til around 5:30. 
But he still needs "me time" once he gets home...so how can I give him that space without completely leaving the house and twiddling my thumbs trying to find something to do?
<bot>: My boyfriend needs extra space for himself, how I do this without feeling put off or like he needs more time away from me personally?