Skip to content

Conversation

@hkiame
Copy link
Contributor

@hkiame hkiame commented Nov 20, 2020

i refactored the code to use es6 modules. A problem with ES6 modules is that they are subjected to same-origin policy. To run the game one will need to have a server or disabled same-origin in the browser which not recommend. I like to hear your view on this. I am thinking of adding a feature that will check if the code is run running from the server otherwise it shows some warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant