game class init