Wrap game in object to control state.