package
0.0.0-20211022155346-6d20dc2c7771
Repository: https://github.com/mikeflynn/go-alexa.git
Documentation: pkg.go.dev

# README

Alexa Skill: Jeopardy

Alexa Jeopardy Demo

Requirements

  • Compiled Go code
  • MongoDB running on localhost

Functionality

  • "Alexa, ask Jeopardy to start a game."

Jeopardy uses the amazing jservice.io API to pull actual Jeopardy questions and categories.

Potential Future Enhancements:

  • Allow selection of point value when selecting the category.
  • Allow for category selection when you star the game.
  • Use Amazon User ID to continue previous game, or keep track of all-time score.
  • Pull random categories.
  • Double Jeopardy!
  • Final Jeopardy!

# Functions

EchoJeopardy is an HTTP handler that will accept the incoming requests to the skill and return the contents of an Alexa app response to the server.

# Structs

JeopardyQuestion wraps the data representing a single question to be asked of the user.
JeopardySession will contain all data needed for a single Jeopardy game session.
JServiceClue contains data about a question and ansewr from the jservice.