Fix typo
Big test refactor

Add actions.js which contains all the actions
Merge branch 'master' of github.com:Duznet/the-game