agar.io-clone
agar.io-clone copied to clipboard
How up to date is the es6-refactor branch?
Is there work there worth preserving? Should I make an attempt to merge master into it? Should I just start over?
I've asked on Gitter but got no reponse.
es6-refactor seems to be an extremely old branch that someone made... It's 230 commits behind master.
If someone is willing to start over or update it, I'd certainly gladly appreciate that.
I'm currently working on this. I have everything setup for hot-reloading and babel for ES6. It's gonna take me some time to get the game up and running, but I'm hoping this will help with some latency issues. Gonna also be looking into lighter socket options.
Node 4+ supports a lot of ES6 features natively, so babel isn't really necessary unless import/export (instead of require/module.exports) or Node <4 compatibility are wanted. What do you guys think?
Go big or go home. Support the LTS version, which is 4.2.6, or the latest stable, which is 5.5.0. Worth noting that while most features are already natively supported (the big ones include spread operators and arrow functions), babel is still needed for a lot of things, so it's not there quite yet.
Yea I'll be using spread operators, arrow functions, and imports. The code will be organized and broken down into a much more elegant way as well to help with readability.
Just wanted to give you guys an update. I've got it running with es6. I'm gonna clean up everything and push it out this weekend for everyone to test out.