You need to provide information about what engine / framework / sdk you are using. If you are using something like GameMaker Studio all you have to do is click Windows in the target build platform list instead of Android. If you aren’t using a game engine that supports multiple platforms you may have to redo all the java code related to UI and input yourself to work on Windows, but it is impossible to say without knowing more about how your project is set up.
Wow I saw that my angular projects used core-js, but it seemed so massive and fundamental that I assumed it had the backing of a large company like angular itself. It’s staggering to see that it was largely being held up by a single person and I hope their situation has improved since writing that blogpost. I can’t even begin to imagine donating so much time and energy to a project even in spite of getting so much hate in return.