zubaird / skill-sample-nodejs-quiz-game

An Alexa Skill Sample showing how to build a quiz game skill.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build An Alexa Quiz Game Skill

Voice User InterfaceLambda FunctionConnect VUI to CodeTestingCustomizationPublication

What You Will Learn

What You Will Need

What Your Skill Will Do

We all hold interesting data in our heads. Maybe it's a list of all the action figures we played with as a kid, specific details about the 50 states, or a historical list of the starting quarterbacks for our favorite football team. When we're with friends, sometimes we'll even quiz each other on these nuanced categories of information. It's a fun, interactive way to share our knowledge and learn more about our favorite topics.

You can now bring that experience to Alexa using our new quiz skill template. You provide the data and the number of properties in that data, and Alexa will dynamically build a quiz game for you. In the quiz, Alexa will ask questions like:

  • "What is the capital of Vermont?"
  • "How many career home runs did Mickey Mantle hit?"
  • "What year was Harry Potter and the Sorcerer's Stone first published?"

You get to provide the data, as well as the number of properties in that data, and Alexa will dynamically build a quiz game for you. In the quiz, Alexa will ask questions like:

  • "Alexa, ask United States Quiz about Ohio."
  • "Alexa, ask Hockey Quiz about Wayne Gretzky."
  • "Alexa, ask Video Game Quiz about River City Ransom."

If you’re in the US, we've also included the new speechcons feature for Alexa skill development. Speechcons are special words and phrases that Alexa pronounces more expressively. We use them in this quiz game to let the user know whether they gave a correct or incorrect answer during the quiz.

If you would like to see an example of this skill in action, you can enable the United States Quiz from the Alexa app. You may not get all of the answers right on your first try, but you'll definitely get a great feel for what your new quiz game could sound like!

About

An Alexa Skill Sample showing how to build a quiz game skill.

License:Other


Languages

Language:JavaScript 100.0%