migrate game-related things to Game class