Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexa-samples/skill-sample-nodejs-highlowgame
The high low game is a game where the player tries to guess the target number. After each incorrect guess, the player is informed if the target number is higher or lower than their current guess. This continues until the target number is guessed or the player gives up. This sample Alexa Skill is written in Node.js and demonstrates the use of session and persistent attributes.
https://github.com/alexa-samples/skill-sample-nodejs-highlowgame
alexa-skill persistent-attributes session-attributes
Last synced: 5 days ago
JSON representation
The high low game is a game where the player tries to guess the target number. After each incorrect guess, the player is informed if the target number is higher or lower than their current guess. This continues until the target number is guessed or the player gives up. This sample Alexa Skill is written in Node.js and demonstrates the use of session and persistent attributes.
- Host: GitHub
- URL: https://github.com/alexa-samples/skill-sample-nodejs-highlowgame
- Owner: alexa-samples
- License: other
- Created: 2016-07-13T19:59:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-07T18:08:07.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T00:04:44.800Z (5 months ago)
- Topics: alexa-skill, persistent-attributes, session-attributes
- Language: JavaScript
- Homepage:
- Size: 201 KB
- Stars: 104
- Watchers: 45
- Forks: 148
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Build An Alexa High Low Game Skill
This Alexa sample skill is a template for a basic high-low game skill. Guess a number, and Alexa will tell you whether the number she has in mind is higher or lower.
## Skill Architecture
Each skill consists of two basic parts, a front end and a back end.
The front end is the voice interface, or VUI.
The voice interface is configured through the voice interaction model.
The back end is where the logic of your skill resides.> Note: The High Low Game uses persistent attributes. When you create an Alexa-hosted skill, the persistence layer the sample code uses is Amazon S3. No configuration or additional setup is required to use the S3 bucket provided with an Alexa-hosted skill. When you create an AWS-hosted skill, the persistence layer the sample code uses is Amazon DynamoDB. The tutorial will walk you through any additional steps required to setup and access DynamoDB.
## Three Options for Skill Setup
There are a number of different ways for you to setup your skill, depending on your experience and what tools you have available.* If this is your first skill, choose the [Alexa-Hosted backend instructions](./instructions/setup-vui-alexa-hosted.md) to get started quickly.
* If you want to manage the backend resources in your own AWS account, you can follow the [AWS-Hosted instructions](https://developer.amazon.com/en-US/docs/alexa/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html).
* Developers with the ASK Command Line Interface configured may follow the [ASK CLI instructions](./instructions/cli.md).---
## Additional Resources
### Community
* [Amazon Developer Forums](https://forums.developer.amazon.com/spaces/165/index.html) - Join the conversation!
* [Hackster.io](https://www.hackster.io/amazon-alexa) - See what others are building with Alexa.### Tutorials & Guides
* [Voice Design Guide](https://developer.amazon.com/designing-for-voice/) - A great resource for learning conversational and voice user interface design.
* [Codecademy: Learn Alexa](https://www.codecademy.com/learn/learn-alexa) - Learn how to build an Alexa Skill from within your browser with this beginner friendly tutorial on Codecademy!### Documentation
* [Alexa Skills Kit SDK for Node.js](https://alexa.design/node-sdk-docs)
* [Alexa Skills Kit Documentation](https://developer.amazon.com/docs/ask-overviews/build-skills-with-the-alexa-skills-kit.html)