working on the game class