Bit refactor: extracting concepts of
- view: wire the socket io, keyboard and canvas
- engine: run animation frame, physics and graphics
- game: a game between 2 players, with a set of entities
- state: a state of the match, which can create/destroy entities, execute actions, and transition to another state
- More work on the game / engine / states
- States can create / remove entities
Game working again, split in states
"grunt" command now builds and watches by default
* Merged Game + Engine = GameEngine
* Moved all low-level engines to a separate folder
* Cleaned up dependencies
KickOff state kick the ball after the countdown
Arena: give the walls a better entity ID
Fixed particle engine - now triggered by a broadcasted message
Player only generates explosion when hitting the ball