It's possible to block certain sites that may lure you into using (have your roommate know the password).
The internet can be an informative place, and you can find support online as well such as here.
You don't have to be a shut-in and isolate yourself completely.
You're only human, don't feel so guilty and ashamed about being a burden or relapsing. I cannot count the times I have relapsed and put myself through nightmarish withdrawals. Keep trying, you're never alone.