A simple game of Snake written in ES6 without any frameworks.
As of right now, it does not have any UI besides showing the score and it looks ugly as shit but I made this to learn the basics of game development and I will continue improving this.
Go to https://devatrox.github.io/SnakeJS/ and have fun!
ES6 modules work in Chrome 61+ out of the box. In Firefox 54+ you have to activate the dom.moduleScripts.enabled
flag
Tested in Chrome 66 and Firefox 59
Locally you can run npx http-server
or the alias npm start
to run it in localhost
Ideas and code suggestions are welcome!