refactoring - game manager