This capsule can be used as a reference for building adventure games for Bixby.
- 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!
Just ask Bixby to start an adventure game:
Start an adventure game.
Then try out different inputs to figure out how you can escape the room. You can always ask for Help
if you ran out of ideas.
Help!
The idea is to apply different actions and gather enough clues on how to escape the room, for example you can say:
Walk around!
Or you can say:
Kick the wall
- Update the game data (name, description, scenes, objects, actions and action responses and other associated data) in
code/game.js
- If you want to use images for the different scenes in the game you can either use a web URL or you can save your image under
assets/images
and refer to them with a relative path, e.g.images/cow.png
(you might have to wait a little until the IDE uploads images to the cloud) - Change the capsule id to reflect your organization and your content. The capsule id is defined in the
capsule.bxb
file - You can customize the game completion statement (
resources/base/dialog/macro/GameState_Statement.dialog.bxb
) and the question asked from the user at each step: (resources/base/dialog/macro/GameState_Statement.dialog.bxb
) - The training in this sample capsule is basic. You will likely need to add additional training for your game especially need utterances that mention the actions and objects in your game. You should also add vocabulary for your game actions and objects to
resources/en/vocab/ActionName.vocab.bxb
andresources/en/vocab/ObjectName.vocab.bxb
- 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”