more on refactoring the game class