game class