This skill tests your knowledge of motivational quotes by matching five well-known motivational quotes to their origin. With 100 motivational quotes to test your knowledge, it is a great opportunity for one to find out more about those motivational quotes.
This skill is based on the "Step-by-Step Guide to Build a Trivia Skill" template. Follow the instructions on the page to setup this skill. The code of this skill is listed at the code section below. Since the instructions are very thorough and in excellent details, the steps to build this skill will not be documented here. Major part of the effort is devoted to building the questions for the trivia. The source of the quotes is from this site, 100 Best Motivational Quotes to Inspire Anyone.
Voice FlowUpon opening the skill, there is a welcome message. The user will be informed of the number times one has played the trivia and the total number of score accumulated. This is something extra not built in the Trivia Skill template. DynamoDB is used to store these values. Then instructions about how the trivia works are given. User will be asked 5 questions of multiple choices. User will attempt to answer the 5 questions correctly. So the flow is very simple to understand.
.
Intents{"intents": [
{"intent": "AnswerIntent", "slots": [{"name": "Answer", "type": "AMAZON.NUMBER"}]},
{"intent": "DontKnowIntent"},
{"intent": "AMAZON.StartOverIntent"},
{"intent": "AMAZON.RepeatIntent"},
{"intent": "AMAZON.HelpIntent"},
{"intent": "AMAZON.YesIntent"},
{"intent": "AMAZON.NoIntent"},
{"intent": "AMAZON.StopIntent"},
{"intent": "AMAZON.CancelIntent"}
]
}
Utterances (en_US)AnswerIntent the answer is {Answer}
AnswerIntent my answer is {Answer}
AnswerIntent is it {Answer}
AnswerIntent {Answer} is my answer
AnswerIntent {Answer}
AMAZON.StartOverIntent start game
AMAZON.StartOverIntent new game
AMAZON.StartOverIntent start
AMAZON.StartOverIntent start new game
DontKnowIntent i don't know
DontKnowIntent don't know
DontKnowIntent skip
DontKnowIntent i don't know that
DontKnowIntent who knows
DontKnowIntent i don't know this question
DontKnowIntent i don't know that one
DontKnowIntent dunno
Skill Builder (Beta)You can use the Skill Builder to model your voice interactivities.
.
.
State Diagram.
Skill LinksClick here (UK) and here (US).
Useful Links
Comments
Please log in or sign up to comment.