If you know that you are depressed and can talk about it, that's a good step and you should be glad to be aware of this.
It's difficult to quit playing games and procrastinate even when someone's not depressed...
Meeting new people and finding a project seems a like good thing, at least it worked for me. You should also try and going out for like walking, biking, or whatever.
And you should avoid medicine, alcohol or drugs.