corrected game class