https://github.com/markbrouch/alexa-blackjack-trainer
Blackjack Trainer Alexa Skill
https://github.com/markbrouch/alexa-blackjack-trainer
alexa alexa-skill alexa-skills-kit blackjack
Last synced: 5 months ago
JSON representation
Blackjack Trainer Alexa Skill
- Host: GitHub
- URL: https://github.com/markbrouch/alexa-blackjack-trainer
- Owner: markbrouch
- License: mit
- Created: 2017-02-12T21:04:07.000Z (over 8 years ago)
- Default Branch: development
- Last Pushed: 2017-02-17T04:59:59.000Z (over 8 years ago)
- Last Synced: 2025-04-17T20:12:37.884Z (6 months ago)
- Topics: alexa, alexa-skill, alexa-skills-kit, blackjack
- Language: JavaScript
- Size: 97.7 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Blackjack Trainer Alexa Skill
This is an Alexa skill for teaching Basic Strategy to the card game Blackjack. Alexa will deal a sample hand and quiz the user on the correct move based on Basic Strategy odds.
## Setup
Blackjack Trainer uses a serverless architecture via an AWS Lambda function. To deploy on your own Lambda for testing, follow these steps:
1. Clone and download this repository.
2. Install dependencies using `yarn`.
3. Run `npm run setup` to generate the Lambda deployment files.
4. Fill out the necessary fields in `.env`.
5. Add your Alexa Skill app id to `deploy.env` as `APP_ID=`.
6. Run `npm run deploy` to deploy skill to your Lambda function.
7. Add the contents of `intent-schema.json` and `sample-utterances.txt` to your Alexa skill.
8. Install and test.## Testing
You can test locally by editing `event.json` with a specific Lambda Request. You may find it useful to copy and paste from the Testing page of the Alexa skill.
## Acknowledgements
Blackjack Trainer makes use of the following projects:
* [engine-blackjack](https://github.com/kedoska/engine-blackjack)
* [blackjack-strategy](https://github.com/gsdriver/blackjack-strategy)
* [node-lambda-babel-template](https://github.com/flesch/node-lambda-babel-template)
* [Alexa Skills Kit SDK for Node.js](https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs)Thanks to the many developers who contributed to these and other open source projects!