Demo of Entity - Component - System in Javascript
JavaScript HTML
Latest commit 224a473 Jun 30, 2015 @erikhazzard Update README.md

README.md

Entity Component System - Javascript Demo

Rectangle Eater

View the running demo

Check out a more fleshed out version of the game at rectrangle.com

This is a basic example of Entity Component System (ECS) in Javascript. View the corresponding tutorial.

Code Structure

This is a no frills approach to demonstrate ECS. To demonstrate concepts, it does not use CommonJS / RequireJS or any other third party dependencies. Because this is used to demonstrate ECS specific concepts, many best practices (such as using modules, e.g., Browserify) are not observed in favor of simplifying concepts; this code is was developed for demonstration purposes.