NexuJust set a timer and only play for that amount. Everyone thinks you need to go cold turkey and immediately cut out anything that's negatively affecting you, but you don't. You can't. No one can do that or else we'd all be perfectly flawless.
You don't need to uninstall the game
You don't need to block steam
You don't need to smash your computer (I predict this is gonna be the next extreme solution someone suggests)
I dunno how much hw you have daily, or if you have stuff to do after school (sports, work, etc.) but taking away something you love is not that answer. Just limit it so it doesn't take up too much time, play on weekends or something.
I'm gonna guess you've never actually been addicted to something because what you're saying doesn't make much sense. People don't actually 'love' the things they're addicted to -- it might start like that, but in the end it just becomes a trigger for some sort of negative behaviour (eg playing too long when you have homework to do, etc). And limiting the time you spend on something might sound easy, but it's clearly not for the op otherwise he'd already have done it.
That said, quitting cold turkey without a plan for how you're gonna manage your cravings isn't helpful either, as seen in the OP: "The worst part is, every time I uninstall the game, I can't go more than a day without re-installing it". So it's more about having a plan for how to spend the spare time without getting bored or feeling like you need to go back to the game (because of stress or something).
You don't necessarily need to quit completely, particularly if you do feel that you enjoy the game, but it's important that you do limit yourself somehow. Maybe set up your internet to cut out at certain times of the day, which might force you to do your homework first before playing games. Ideas like that can certainly work as long as you want them to.
But if motivation/distraction is an issue, which it sounds like it is, then quitting completely is really the best way to deal with it, at least in my experience (which is fairly extensive tbh D:).