GithubHelp home page GithubHelp logo

Comments (9)

bjarneo avatar bjarneo commented on May 18, 2024

*between client and server

from agar.io-clone.

krtr avatar krtr commented on May 18, 2024

Also we can take into account entity-component-system pattern. It's commonly used pattern in gamedev but I'm not sure if it won't be overkill

little tutorial/demonstration
http://vasir.net/blog/game-development/how-to-build-entity-component-system-in-javascript

from agar.io-clone.

krtr avatar krtr commented on May 18, 2024

I think that when we start playing with oop it would be nicer if we would write classes with es6 (babel or typescript or whichever compiler which can compile down to es5). OOP code in es6 looks much clearer than es5

from agar.io-clone.

bjarneo avatar bjarneo commented on May 18, 2024

I like this ECS system. I'll take a closer look at it.

from agar.io-clone.

huytd avatar huytd commented on May 18, 2024

I agree. We should write classes with ES6 :D

from agar.io-clone.

krtr avatar krtr commented on May 18, 2024

But for es6 we need compiler which is impying build system. Which one you prefere? I'm suggesting gulp

from agar.io-clone.

huytd avatar huytd commented on May 18, 2024

Yes, Gulp is much easier to use. I think.

from agar.io-clone.

krtr avatar krtr commented on May 18, 2024

@huytd i can setup gulp with babel also I'll create issue for this

from agar.io-clone.

huytd avatar huytd commented on May 18, 2024

👍

from agar.io-clone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.