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.
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.
Or click here for instructions using the ASK CLI (command line interface).