We can't do much for you. If you're suffering from a behavioural addiction (which this pretty much is) and you can't beat it on your own, you might well have to seek help from other people in your life, or even professionals. Either that, or take the hits on the chin and learn from them. We all do and have done dumb things, and sooner or later, there will be consequences. I nearly got kicked out of high school (or the danish equivalent) for being too lazy to do my math papers; as a result, i ended up having a hell week with 8 normally-weekly papers to do in 5 days. That was a merciful outcome.
Think about it this way: If you get the papers out of the way first, you can play games in good conscience afterwards. If you don't have time to play games afterwards then you did the right fucking thing by prioritizing homework. Trust me, if you let it pile up, it ONLY gets worse. Looming homework adds stress, and what do you do when you're stressed? Not homework. In the end, you'll have shovelled such a colossal mountain of shit in front of yourself that you eventually can't shove it any further, and you have no other option than to take a deep breath and dive through, at least if you want to keep going forward. For the record, that's a nasty situation to be in, so don't let it get that far.