Purpose: Play Simplified version of Three Card poker by a Single Player against Alexa.
Features:
1. Game Starts with Player dealing the Cards by Saying Playing
2. Alexa would shuffle the 52-Card Deck Randomly for Each play.
3. Player will be handed with 5 Cards out of which First 3 Cards belongs to Player and next 2 Cards belong to Dealer. Here Alexa is your Dealer.
4. The object of the game is to have the best three-card hand and to maximize the pot before the showdown. Any hand of a higher category beats any hand of a lower category.
5. Ranking Algorithm: Ranking of hands from highest to lowest in below sequence accordingly: Royal Flush, Straight Flush, Four of a kind, Full House, Straight, Flush, Straight, Triple, Two Pairs, A Pair or High Card
How it Works:
Basic breakdown of the Skill's programming logic, in the general order of which they occur during gameplay:
1. User starts the Skill, causing the Skill to generate a shuffled deck of cards using the Deck of Cards Class which randomly Shuffles the 52 Card.
2. User begins gameplay by saying "play ", causing the Skill to distribute a card from the deck to the Player and to Alexa. Each Session will be keep tracked by Session Attributes.
3. Alexa reveals all 5 Cards to the Player and asks the Player, if they wish to know the Result by Saying Show or Pack.
4. Player Responds with "Show" or "Pack". Alexa will Reveal the Outcome if the player says "Show". The outcome would not be revealed, if Player Says "Pack".
5. Alexa Asks the Player "Do they wish to continue the Game by saying "Yes/No".
6. The player responds with a "yes " intent (yes/stay) or a "no " intent (no/fold), causing Alexa to distribute another round of cards, effectively repeating the previous steps when intent is "yes". When Player says "no", the skill session is closed.
7. The player will continue this process until they exit the Skill via the "stop" intent, "no intent", "cancel" intent.
8. If player needs more details to 3 Card poker Game, They can say "help" which would invoke "help" intent during any stage of the Game
9. if player needs to restart the game during any time, they can say "repeat" which will start the Play Session from Scratch and Alexa will begin to shuffle the cards and will share new hand.