alexa-samples / skill-sample-nodejs-buttons-trivia

This is a sample trivia skill that will allow developers to get a head start on their trivia games using Echo Buttons. It allows for roll-call of the players, asking trivia questions, and determining whether the voice inputs matched the answers.
Other
32 stars 35 forks source link
echo-buttons

Build An Alexa 'Better with Buttons' Trivia Game

Important: The Gadgets Skill API is in beta and is subject to change at any time without notice. We welcome your feedback.

This Alexa sample skill is a template for a trivia game which is played with Echo Buttons in multiplayer mode but can also be played without buttons in single player mode. Provided a list of interesting questions about a topic, Alexa will select a group of questions to ask the player(s), keep score throughout, and announce the winner at the end of the game.

This sample skill demonstrates how to discover Echo Buttons using roll call, how to receive Echo Button events, and how to animate the Echo Button lights.

You may use this sample game as a starting point to build your own 'Better with Buttons' trivia game. You can customize Alexa's voice responses, the question list, and some game options without making changes to the code. However, to provide a truely unique game experience code changes will likely be necessary.

About

This guide assumes you have your developer environment ready to go and that you have some familiarity with CLI (Command Line Interface) Tools, AWS, and the ASK Developer Portal.

Pre-requisites

Get Started

Or click here for instructions using the ASK CLI (command line interface).

Additional Resources

Community

Tutorials & Guides

Documentation