create game class