game class basics