Do you have a great idea for a quiz that will entertain and delight Bixby users? Do you want to create a fun quiz to help you learn something new? A quiz to stump your friends? The quiz sample capsule is the perfect place to start building a Bixby quiz capsule!
Both the fundamentals of a Bixby Capsule and some more intermediate/advanced concepts are used. This is a great capsule to learn even more about how to develop for Bixby.
You can easily customize this capsule with your own quiz without any development! Just use the spreadsheet in the contentUtility
folder and cut and paste from there into the quizzes.js
file, update the capsule.id
and training
as necessary and you have made this capsule your own!
- Download and install the Bixby Studio IDE from the Bixby Developer Center
- Download this capsule (zip is the easiest way) from Github. Unzip in your directory of choice
- Open the Capsule in Bixby Studio
- Open the simulator and give it a try!
Ask Bixby to start a quiz, try these:
Start a quiz (Bixby asks you which quiz you want to start)
Start a states quiz (Bixby starts a quiz about US States)
Start a presidents quiz (Bixby starts a quiz about US presidents)
Start a funny quiz (Bixby starts a quiz that is funny)
- Change the capsule id to reflect your organization and your content. The capsule id is defined in
capsule.bxb
file. - Create your own quiz questions and answers by editing the
code/data/quizzes.js
file. You may also use the spreadsheet located incontentUtility/createQuizContent
Thequizzes.js
file has comments that explain each of the fields and how they customize a quiz - You can customize the Quiz NoResult dialog by modifying the
resources/en/dialogs/NoQuiz.dialog.bxb
- You can customize the Quiz Found dialog by modifying the
resources/base/views/FindQuiz.view.bxb
view file - You can customize the Quiz Question/Answer prompts by directly modifying the
resources/base/views/UpdateQuiz.view.bxb
file and by modifying the dialog macros inresources/en/dialog/macros/
. - The training in this sample capsule is basic. You will likely need to add additional training for your quiz
- Have fun!
- Bixby Developer Center - Everything you need to get started with Bixby Development!
- Bixby News, Blogs and Tutorials - Bixby News, Tutorials, Blogs and Events
- Quick Start Guide - Build your first capsule
- Design Guides - Best practices for designing your capsules
- Developer Guides - Guides that take you from design and modeling all the way through deployment of your capsules
- Bixby Developers YouTube Channel - Tutorial videos, Presentations, Capsule Demos and more
- Bixby Developers Chat - Voice, Conversational AI and Bixby discussions
- @BixbyDevelopers - Twitter
- Have a feature request? Please suggest it in our Support Community to help us prioritize.
- Have a technical question? Ask on Stack Overflow with tag “bixby”