recode gameplay code