DarthBurrit0/nomadaxe.com — pull request #10 by emkay (2013-02-12 01:57:54+00:00)
Title: brooklyn zoo. also initial add.

I hacked around a little and came up with an idea. Not a whole lot is here as I just wanted to see what @jxson thought about this approach.

## Entity
The `Entity` object provides properties and methods that every object in the game would have. An item, player, or npc would all have x/y coordinates for example. Anything that inherits from `Entity` will have a `create` method allowing you to send in an object for creation.

## God
`God` is an `EventEmitter` that creates objects in the game. There is an example in server.js.
We could have json config files outlining what characters to create and what properties they have. This would allow you to setup the game through config, and god goes through and creates all the objects. Also whenever they change god emits. Basically it would be used as a mediator between objects in the game. By listening to events we could update the client.