Skip to content

An Alexa skill for playing a game of high card by suit.

License

Notifications You must be signed in to change notification settings

jyunderwood/HiLoCardGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi-Lo Card Game

An Alexa skill for playing a game of high card by suit.

Description

A simple game of high card. Two cards are drawn from a shuffled deck for each game. Alexa will tell you the first card. Will the second card be higher or lower than the first?

Ranks are ordered two through 10 then jack, queen, king, and ace. Suits are ordered in ascending alphabetical order: clubs, diamonds, hearts, and spades.

Example phrases

  • Alexa, start Hi Lo
  • Deal
  • Higher

Development

This skill runs on AWS Lambda and doesn't have any storage requirements.

Requirements

  • Node 6.10 (AWS Lambda instance version)

On-boarding

In the root of the project:

npm install
npm start

Then visit the simulator to play around.

Deploying

cd apps/hilocardgame
npm install
zip -qr hilocardgame.zip . -x \.DS_Store

Then copy the zip file to AWS Lambda.

If you need to update the intents schema or the utterances, copy those values from the simulator and update them on the Alexa app dashboard

Todos

  • Complete refactor
  • Tests
  • Automated deployment

About

An Alexa skill for playing a game of high card by suit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published