I'm sorry you had to lose a friend. I understand that you're trying to find meaning and place blame but playing a game for 3 days is not likely to end your life. It's possible he had an underlying medical condition. If he had been sitting for 3 days straight writing code would you blame it instead?