Kuro-ki / capsule-sample-dice

This capsule is the companion code to the Bixby Quick Start guide. The capsule demonstrates use of Concepts and Actions.

Home Page:https://bixbydevelopers.com/dev/docs/get-started/quick-start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Bixby Quick Start Dice Sample Capsule

Overview

This capsule provides companion code to the Bixby Quick Start Guide. The capsule simulates throwing dice. Throw any number of dice and choose how many sides the dice have. The capsule demonstrates use of Concepts and Actions.

Note: This capsule is meant to be used with the Quick Start Guide, which teaches you how to add training. Therefore, you cannot use natural language initially. However, you can use the following intent in the Simulator to test the capsule out-of-the-box:

// Give two values (number of dice and number of sides) with the
// goal of rolling dice
intent {
  goal: example.dice.RollResultConcept
  value: example.dice.NumSidesConcept (6)
  value: example.dice.NumDiceConcept (2)
}

Additional Resources

Your Source for Everything Bixby

Guides & Best Practices

Video Guides

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

This capsule is the companion code to the Bixby Quick Start guide. The capsule demonstrates use of Concepts and Actions.

https://bixbydevelopers.com/dev/docs/get-started/quick-start

License:Apache License 2.0


Languages

Language:JavaScript 100.0%