Skip to content

Ask Alexa on Amazon Echo (Dot) to respond to an ongoing series of questions with two functions. Fundamentally, a simple faux state machine.

Notifications You must be signed in to change notification settings

jasonsalas/alexa-sequential-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alexa-sequential-game

Ask Alexa on Amazon Echo (Dot) to respond to an ongoing series of questions with just two functions. Fundamentally, this is a simple faux state machine.

Overview

This is a simple demo of an Alexa skill for the Amazon Echo family of smartspeakers using Flask-Ask to handle repeated question-answer interaction. My favorite skill is Cinema Playground Screen Test, so this emulates the multi-step process of asking questions and incrementing the score.

Basically, the HTTP app persists the user's response and their score in the session.attributes dictionary, looped over in the number_challenge function. A simple "yes" or "no" response bridges the data.

About

Ask Alexa on Amazon Echo (Dot) to respond to an ongoing series of questions with two functions. Fundamentally, a simple faux state machine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages