Easy and generic way to use the Component / Entity model for your JavaScript games.
See the examples/
folder for examples. Or read http://adrian.gaudebert.fr/blog/post/2011/12/18/component-entity-manager-for-javascript-games
You will first need nodeunit, a module for node.js: npm intall nodeunit
.
Then simply run the tests in the tests/
folder: nodeunit tests