Hi everybody, I hope somebody can help me with my current issue!
Problem: the Skill works fine on the VoiceFlow prototype section, but in ADC there are some errors.
The Skill is supposed to be a simple riddle game for children. Single player, with points assignment (and cheerings for the kid playing).
The flow, summarized, is:
Welcome message -> Random Block (alexa chooses a riddle between 20 different options) -> Choice blocks (one for each different question). If choice is correct: +1 point (with set variable block); random block (alexa chooses a congratulation message between 3 different options, and communicates the total amount of points). If the choice is wrong: “Wrong answer, try again” message, no points assigned. After the congratulations or the try again message, Alexa will choose again another riddle from the list, and so on (without duplicates).
Everything works really well in the “Prototype section”. I checked the debug mode: everything works as it is supposed to.
But in ADC it happens something really weird.
The skill runs, but if the user gives a wrong answer, Alexa answers with one of the “congratulation” messages. The points are not assigned, though. Then, the same riddle is told once again by Alexa; if the answer is wrong again, the app suddenly stops working. If the correct answer is given, the game keeps running. Curious fact: yesterday the skill was running perfectly also on ADC.
More info about variables and intent/utterances: the only variable that I added is the “points” one, and works well. About the intent: i created a specific intent for each riddle, with utterances that are synonyms of the correct choice. Example: Riddle: “I fly but I don’t have feathers, i have wings but I don’t tweet, what am I?” Intent: riddlesolution1; utterance: plane, airplane (etc etc). If the answer is riddlesolution1, the path leads to “congrats message”; if it’s “else”, the path leads to the “oh no” message. But on ADC looks like that the “Else” path is bonded to the congratulation message.
Thank you so much for reading all this, I tried to be as clear as possible. I hope somebody can help me!