Alexa, Lets Play Jeopardy!
I’ve been playing around with my new Amazon Echo and writing up some “Skills” for the Amazon Alexa voice assistant and so far so good! What I’ve got above is a link to a YouTube video I did demoing a “Jeopardy” skill. It’s not fully baked in that you can’t play a complete game of Jeopardy, but you can choose a category, get a question, and it will keep score for you. There’s no way I can release this officially without the cold hand of Jeopardy Corp. slapping me down, but it was a great first project for Alexa development as it involved multiple voice intents, keeping an active session, etc.
Everything is written in Go using my Go Alexa Skill library that kind of formed by accident as I was working through the initial build and keeps the Jeopardy-specific portion to a 350 line file. You can find the code for everything, the library, the Jeopardy example and even the Amazon API configuration files (voice intents and sample utterances) here: github.com/mikeflynn/go-alexa
Please reach out on Twitter or file a GitHub issue if you have any questions (or a pull request). I’m happy to dive in to more detail as needed.
Going forward I’ve got a few much larger ideas I can implement with the Alexa Skill API, and I might go back and flesh out Jeopardy a little more. It needs Double Jeopardy.
Related Posts
Life as a Gopher
It seems like discussions about Go (or Golang), Google’s new-ish, C-like, programming language, are everywhere these days. I’ve been using Go in my free time to work on little projects for the last few months and thought it was time to jot down a few thoughts on the language. Background I find in articles like this even a short amount of background helps color the views.
Read moreBeats Music Likes My Clojure Library
I’ll do a full post on the library some time soon. In the meantime, check it out: http://mikeflynn.github.io/beats-clj/ @mikeflynn_ created a Clojure library, now on the developer portal https://t.co/XgTD39uQ5E #beatplatform #clojure — Beats Platform (@beatsplatform) June 19, 2014
Read moreThoughts on Apple Bloggers and Vision Pro Coverage
I posted this on Mastodon, but I figured I would cross-post it here as well. I wonder if we’re headed for a weird place with the #Apple Blogosphere (AKA the Apple Blog Mafia). All of the main players are talking about Vision Pro all the time and saying things like “I lose track of time in here!
Read more