integrated the game part with the activity flow