Nice game dude. The only thing i would change is the function you put all of these commands in, because this runs differently on different computers. Meaning that if you have a super powerful computer, this would be impossible to play.
itch.io is an open marketplace for independent game creators. It's completely free to upload your content. Read more about what we're trying to accomplish and the features we provide.