refactoring: I don't like switches
updating game view on changes from server