alexa-blackjack-trainer
v1.1.0
Published
A blackjack trainer skill for Alexa.
Downloads
6
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:
- Clone and download this repository.
- Install dependencies using
yarn
. - Run
npm run setup
to generate the Lambda deployment files. - Fill out the necessary fields in
.env
. - Add your Alexa Skill app id to
deploy.env
asAPP_ID=<appId>
. - Run
npm run deploy
to deploy skill to your Lambda function. - Add the contents of
intent-schema.json
andsample-utterances.txt
to your Alexa skill. - 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:
Thanks to the many developers who contributed to these and other open source projects!