At this point, you should have a working copy of our Quiz Game skill. In order to make it your own, you will need to customize it with some responses that you create. Here are the things you will need to change:
-
New data. You will need to provide a set of quiz game for your topic. We recommend a minimum of 25, but a total closer to 100 offers a better experience.
-
Open a copy of data.py. If you haven't already downloaded the code for this project, you can find a copy of data.py here. You can use a simple, lightweight code editor like Atom, Sublime Text, or VSCode.
-
Look at the STATES_LIST This is the list of states data for our skill. You can see that it is a simple dictionary of states data mappings.
-
When you have replaced the data in
data.py
, you need to upload the latest data into Lambda. Copy the updated contents into theskill_env
folder, zip the contents of theskill_env
folder and upload it to AWS Lambda as discussed in the "Finish configuring your function" step in Lambda setup documentation. Test your skill through the Alexa Simulator on the developer portal, with the updated changes.
-
-
New sentences to respond to your users. There are several sentences and responses that you will want to customize for your skill.
-
Go back to your copy of data.py.
-
Look for lines like this: WELCOME_MESSAGE = (..." These are strings that hold phrases for Alexa to respond with. Customize them to make it as varied and conversational as time allows.
-
Continue through
data.py
until you reach the bottom of the file. This will ensure that you cover each of the Alexa responses that you need to update. -
When you have replaced the data in data.py, you need to upload the latest data into Lambda. Copy the updated contents into the
skill_env
folder, zip the contents of theskill_env
folder and upload it to AWS Lambda as discussed in the "Finish configuring your function" step in Lambda setup documentation. Test your skill through the Alexa Simulator on the developer portal, with the updated changes.
-
-
New language. If you are creating this skill for another language other than English, you will need to make sure Alexa's responses are also in that language.
- For example, if you are creating your skill in German, every single response that Alexa makes has to be in German. You can't use English responses or your skill will fail certification.
-
Once you have made the updates listed on this page, you can click "Launch" in the top navigation to move on to Publishing and Certification of your skill.