ggirou/risk — pull request #30 by ggirou (2014-03-30 20:05:39+00:00)
Title: Distinct PlayerEvent and EngineEvent

DONE:
- Distinct `PlayerEvent` and `EngineEvent`
- `PlayerEvent` are only produces by players and consumed by engine
- `EngineEvent` are only produces by engine and consumed by player `RiskGame` state
- As suggested by Alexandre, `RiskGame` updates its state receiving `EngineEvent`
- Added missing serialization tests
- Added tests on `RiskEngine`
- Added tests on `RiskGame`
- Removed `LeaveGame` event

TODO:
- Add check when moving armies after a Battle
- Add automatic armies setup in `sendGameStarted`
- Add documentation comments
- Add missing tests on Engine
- Compute reinforcement