codes to make game