Refactoring game model.