seperate game class