pass game into as a member of window