This guess a number game, called Number Genie, is an action for the Google Assistant.
- API.AI account: https://api.ai
- Google Cloud project: https://console.cloud.google.com/project
See the developer guide and release notes at https://developers.google.com/actions/ for more details.
- Create a new agent in API.AI https://api.ai.
- Click on the project gear icon to see the project settings.
- Select "Export and Import".
- Select "Restore from zip". Follow the directions to restore.
- Select the NumberGenie.zip file in this repo.
- Host the wav files in the audio folder on a web server and modify the URL's in the app.js file.
- Deploy this app to your preferred hosting environment (we recommend Google App Engine).
- Set the "Fulfillment" webhook URL to the hosting URL.
- Make sure all domains are turned off.
- Enable Actions on Google in the Integrations.
- Provide an invocation name for the action.
- Authorize and preview the action in the web simulator.
For more detailed information on deployment, see the documentation.
- Actions on Google documentation: https://developers.google.com/actions/.
- If you find any issues, please open a bug here on GitHub.
- Questions are answered on StackOverflow.
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.md.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
Actions on Google Developers Community on Google+ https://g.co/actionsdev.