Git Product home page Git Product logo

alexabuttonskilltest's Introduction

Alexa Button Test Skill

This skill is created to test and document button for use with Alexa Echo Plus.

This is how the system works: You need to use the system of a GameEngine interface and a GadgetController interface. The GadgetController is more focused towards changing what the buttons look like, for example changing the colours on the buttons

The GameEngine interface is how the Alexa / AWS / Lambda skills will define interaction with the buttons. This is used things such as GameEnginer.StartInputHandler. The InputHandler is the main structure sent to the buttons to define their behaviour.

Defining Echo Button Events

Echo button events is how AWS lets us talk to the buttons and only focus on the inputs that matter: We would define a set number of patterns (max 32), through these we only act based on which pattern matched as opposed to use manually parsing the input.

(Idea: It might be possible to match the inputs in our own way as there is a method of trying to figure out the 'raw' input.)

Events:

For each event you define, you list the patterns it has to MATCH and the ones it has to FAIL. This way you can force mutual exclusion. This also allows for a default match all pattern.

These patterns are done using a system of recoginzers. These are defined here

Essentially these systems are just patterns which the buttons can correspond / check against and return the relevant event to.

The match recoginzer is the one that's most important for our implementation. It should be able to pattern match a specific pattern in order in the history of the InputHandler.

Documentation:

Referenced Documents / Links are :

  1. Overall outline of how buttons work
  2. Focused on Events for InputHandler. THIS IS THE MOST IMPORTANT ONE
  3. Example sample repo

alexabuttonskilltest's People

Contributors

sunnymiglani avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.