How btelle/alexa-boardgame-answers works
Main Components Identification
The project is an Alexa Skill with the following key components:
a) Alexa Interaction Layer
• Custom slots (board game names and equipment types)
• Intent definitions
• Sample utterances
b) Data Layer
• Game-specific JSON files containing rule information
• Response templates
c) Lambda Function Layer
• AWS Lambda handler for processing requests
Component Relationships
Use the following connections:
• User → Alexa Device
• Alexa Device → Alexa Skills Kit
• Alexa Skills Kit → Lambda Function
• Lambda Function → Game Data JSON Files
• Intent Schema ⇢ Alexa Skills Kit
• Custom Slots ⇢ Alexa Skills Kit
• Sample Utterances ⇢ Alexa Skills Kit
Specific Elements
a) Input Processing:
• How user questions about board games are matched to intents
• Custom slot types for game names and equipment
b) Data Organization:
• Game-specific JSON files structure
• How responses are templated and formatted
c) Response Flow:
• How answers are constructed and returned to the user
Technical Details to Highlight
• JSON file structure for game rules
• Intent matching process
• Custom slot type implementation
• Response formation logic
Remember to include a note about the contribution workflow, showing how new games can be added through the data/games directory and how the custom slots are updated accordingly.
This system design should effectively communicate both the current architecture and how it can be extended with new games and question types in the future.