This will be my 14th Alexa skill that I have written. I wanted to make a game that would be fun and interactive. The goal was to create something that was fun yet easy to play. The idea of the hot potato game is a fun game but difficult to play with just a voice interface. With the addition of echo buttons, the interaction aspect of the game started to take form.
Starting with at ticking sound, Alexa will welcome you to this game. With this skill you start with a roll call to determine how many players there are in the game. I wrote the code so that during the roll call there are four unique buttons that can be registered as players. For each of the buttons that is pressed Alexa will announce the player number and that button will turn green. If there are enough players, all player buttons will pulse green to show a ready state. If there are not enough players Alexa will announce it and exit the skill.
Once players are established, the players will play 5 rounds of hot potato.
Comments