server: game model. refactoring