The Three Kingdoms era of China had always inspired me, and I really wanted to let other people know more about this period and be able to take away valuable lessons depicted in the Romance of the Three Kingdoms novel.

What it does

This skill informs users about warriors of the three kingdoms era and history tidbits about this era.

How I built it

I used node.js as the backend, hosted on AWS Lambda.

Challenges I ran into

Alexa Conversations had a lot of quirks. Reading the documentation and tinkering/testing different strategies to make some of my use cases was the most challenging part. Another challenge was training Alexa to understand certain words such as shu (shoe, shoo) and wei (weigh, whey).

Accomplishments that I'm proud of

I'm glad I got the context carry over functionality to work. For example, when the skill asks if you want to hear about another warrior, saying, "how about {faction}" will trigger more information about a warrior from the specified faction, being shu, wei, or wu.

What I learned

I learned that delegating the dialog back and forth between Alexa Conversations and the regular Alexa Skill interaction model was possible and it gives me a lot more control over how to handle different parts of the skill.

What's next for Three Kingdoms

I'd like to add some APL features to actually have visuals about some of the warriors.

Built With

Share this project: