building game class