Skip to content

bixbydevelopers/capsule-sample-open-ended-adventure-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Bixby Adventure Game Sample Capsule

Overview

This capsule can be used as a reference for building adventure games for Bixby.

How to get started

  • 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!

How to 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

How to customize

  • 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 and resources/en/vocab/ObjectName.vocab.bxb
  • Have fun!

Additional Resources

Your Source for Everything Bixby

Guides & Best Practices

Bixby Videos

Bixby Podcast

Bixby on Social Media

Need Support?

  • 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”

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages