DEV Community

loading...

Lost in Translation (An Alexa Skill)

viltaria profile image Tyler Chong ・2 min read

"Alexa, launch Translation Lost"

Lost in Translation was the first Alexa Skill that me (and a friend) published on Amazon's Alexa Skill Store. This post will overview what the game does, how it does it's stuff, and some of the problems we ran into.

What It Do

Lost in Translation is a speech based game in which Alexa says a phrase in an accent and the player has to guess what Alexa said. For example, Alexa might say something like "May the Force be With You", but in a Korean accent. After which the player should respond with that same phrase. By default, the player has five minutes to score as many points as they can, with each phrase correct being a point. If they need help, the player can ask Alexa for a hint, or just give up on the phrase if it's too hard (sometimes it's near impossible).

How It Do

Code Repo

This project was written using Amazon's Litexa, or a literate style programming language for Alexa Skills. Litexa provides an easy interface interacting with AWS services such as DynamoDB, S3, and Polly. You can view the entire workflow of the Skill in litexa/main.litexa.

Problems

  • Limited Alexa/Polly Voice Support
    • Alexa doesn't support a lot of the voices that AWS Polly offers, this led us to hardcode a lot of the voice phrases, as we couldn't dynamically generate most of the ones we wanted (the Asianic Language ones are just hilarious)

Try it out!

More Info

Discussion

pic
Editor guide