O'Reilly logo

Alexa Skills Projects by Madhur Bhargava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Persistence to Factly

When it comes to games (and also to life), persistence is the key. Seriously, if we had no way to save the progress of Mario at different levels, we would have never ended up saving the princess eventually.

To know more about Mario, please visit https://en.wikipedia.org/wiki/Mario.

We can also add persistence to any Alexa Skill for saving the current state or the user's progress. Saving state can be used as a delighter or it can also be a necessity, especially in Game/Entertainment-oriented skills where it is critical to save the user's progress.

In this section, we shall demonstrate adding persistence to Factly; we shall be informing the user of the number of times they have played Factly up until now, and for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required