Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilhamilton committed Jan 2, 2018
0 parents commit 5166648
Show file tree
Hide file tree
Showing 8 changed files with 9,889 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
Binary file added VisualTarot.zip
Binary file not shown.
22 changes: 22 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
LICENSE FOR APRIL L. HAMILTON'S VISUAL TAROT ALEXA SKILL CODE.
LICENSE DATED 1/1/18.

THIS CODE IS PROVIDED AS-IS AND IS NOT WARRANTED TO BE FREE FROM DEFECT.

THE CODE MAY BE ADAPTED, REMIXED AND SAMPLED WITHOUT LIMITATION, THOUGH
IT IS PREFERRED THAT SUCH USE IS ACCOMPANIED WITH CREDIT TO APRIL L. HAMILTON
AT LOVEMYECHO.COM.

USERS OF THIS CODE ARE PROHIBITED FROM EXACTLY REPLICATING THE VISUAL TAROT
ALEXA SKILL CREATED BY APRIL L. HAMILTON, WHICH IS THE SOLE INTELLECTUAL
PROPERTY OF APRIL L. HAMILTON. THE ORIGINAL CODE, WHEN TAKEN IN ITS ENTIRETY,
IS THE SOLE INTELLECTUAL PROPERTY OF APRIL L. HAMILTON.

PLEASE SEE THE DEEP DIVE BLOG SERIES ABOUT THIS SKILL ON THE LOVE MY ECHO
SITE FOR A THOROUGH WALKTHROUGH OF ALL ASPECTS OF THIS SKILL AND ITS CODE.
THE SERIES BEGINS AT:

https://lovemyecho.com/2017/12/19/alexadev-tuesday-alexa-display-template-skill-design-and-coding-deep-dive-introduction/

APRIL CAN BE REACHED VIA THE CONTACT FORM ON THE LOVE MY ECHO SITE:
https://lovemyecho.com/contact-love-my-echo/
56 changes: 56 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
README FILE FOR APRIL L. HAMILTON'S VISUAL TAROT ALEXA SKILL, DATED 1/1/18.

I CANNOT PROMISE MY PROGRAMMATIC SOLUTIONS HERE ARE THE MOST ELEGANT
OR INGENIOUS, BUT I *CAN* GUARANTEE THEY WORK BECAUSE THIS SKILL
IS NOW LIVE IN THE SKILL STORE OF EVERY AMAZON REGION WHERE ENGLISH
IS A SUPPORTED LANGUAGE AND ALEXA DEVICES WITH SCREENS ARE AVAILABLE.

THE SKILL IS WRITTEN IN JAVASCRIPT AND IS BUNDLED WITH THE
ALEXA SDK FOR NODE (https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs)
THAT WAS CURRENT AT THE TIME OF THE SKILL'S PUBLICATION, IN
NOVEMBER OF 2017.

THE LIVE SKILL IS HOSTED ON AMAZON'S LAMBDA SERVICE, AND ALL
GRAPHIC ASSETS ARE STORED IN AN AMAZON S3 BUCKET.

THIS CODE EMPLOYS AND ILLUSTRATES THE FOLLOWING METHODS,
FUNCTIONS AND ITEMS:

==================================================================

NewSession

Use of sessionAttributes to persist skill data in-session

Select random, non-consecutive items from an array (virtual coin toss)

Display.RenderTemplate directive, used with ListTemplate2 and BodyTemplate2

ElementSelected to capture user touch selections from Display Template screens

selectNumberIntent to capture spoken list number selections from Display Template screens

Use of SSML tags for outputSpeech

Play welcome/instruction message only on first screen load

Drill-down through up to three menu/list screen levels

Control user navigation back and forth through screens via use of a custom
AMAZON.PreviousIntent handler

SessionEndedRequest cleanup to address Lambda latency issues

===================================================================

PLEASE SEE LICENSE.TXT FOR USAGE GUIDELINES.

PLEASE SEE THE DEEP DIVE BLOG SERIES ABOUT THIS SKILL ON THE LOVE MY ECHO
SITE FOR A THOROUGH WALKTHROUGH OF ALL ASPECTS OF THIS SKILL AND ITS CODE.
THE SERIES BEGINS AT:
https://lovemyecho.com/2017/12/19/alexadev-tuesday-alexa-display-template-skill-design-and-coding-deep-dive-introduction/

APRIL CAN BE REACHED VIA THE CONTACT FORM ON THE LOVE MY ECHO SITE:
https://lovemyecho.com/contact-love-my-echo/


55 changes: 55 additions & 0 deletions speech_assets/IntentSchema.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"intents": [
{
"intent": "selectNumberIntent",
"slots": [
{
"name": "ListNumber",
"type": "AMAZON.NUMBER"
}
]
},
{
"intent": "AMAZON.NavigateSettingsIntent"
},
{
"intent": "AMAZON.NavigateHomeIntent"
},
{
"intent": "AMAZON.MoreIntent"
},
{
"intent": "AMAZON.PageDownIntent"
},
{
"intent": "AMAZON.PageUpIntent"
},
{
"intent": "AMAZON.ScrollRightIntent"
},
{
"intent": "AMAZON.ScrollDownIntent"
},
{
"intent": "AMAZON.ScrollLeftIntent"
},
{
"intent": "AMAZON.ScrollUpIntent"
},
{
"intent": "AMAZON.NextIntent"
},
{
"intent": "AMAZON.PreviousIntent"
},
{
"intent": "AMAZON.CancelIntent"
},
{
"intent": "AMAZON.HelpIntent"
},
{
"intent": "AMAZON.StopIntent"
}
]
}
56 changes: 56 additions & 0 deletions speech_assets/Utterances.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
AMAZON.PreviousIntent go back
AMAZON.PreviousIntent last screen
AMAZON.PreviousIntent go back to last screen
AMAZON.PreviousIntent previous
AMAZON.PreviousIntent previous screen
AMAZON.PreviousIntent go back to previous
AMAZON.PreviousIntent go back to previous screen
AMAZON.PreviousIntent last screen
AMAZON.PreviousIntent go to last screen
AMAZON.PreviousIntent go back to last screen
AMAZON.PreviousIntent show last
AMAZON.PreviousIntent show last screen
AMAZON.PreviousIntent show previous
AMAZON.PreviousIntent show previous screen
AMAZON.PreviousIntent load last
AMAZON.PreviousIntent load last screen
AMAZON.PreviousIntent load previous
AMAZON.PreviousIntent load previous screen
selectNumberIntent {ListNumber}
selectNumberIntent select {ListNumber}
selectNumberIntent show {ListNumber}
selectNumberIntent get {ListNumber}
selectNumberIntent load {ListNumber}
selectNumberIntent go to {ListNumber}
selectNumberIntent fetch {ListNumber}
selectNumberIntent display {ListNumber}
selectNumberIntent number {ListNumber}
selectNumberIntent select number {ListNumber}
selectNumberIntent show number {ListNumber}
selectNumberIntent get number {ListNumber}
selectNumberIntent load number {ListNumber}
selectNumberIntent go to number {ListNumber}
selectNumberIntent fetch number {ListNumber}
selectNumberIntent display number {ListNumber}
selectNumberIntent list number {ListNumber}
selectNumberIntent select list number {ListNumber}
selectNumberIntent show list number {ListNumber}
selectNumberIntent get list number {ListNumber}
selectNumberIntent load list number {ListNumber}
selectNumberIntent go to list number {ListNumber}
selectNumberIntent fetch list number {ListNumber}
selectNumberIntent display list number {ListNumber}
selectNumberIntent select item {ListNumber}
selectNumberIntent show item {ListNumber}
selectNumberIntent get item {ListNumber}
selectNumberIntent load item {ListNumber}
selectNumberIntent go to item {ListNumber}
selectNumberIntent fetch item {ListNumber}
selectNumberIntent display item {ListNumber}
selectNumberIntent select list item {ListNumber}
selectNumberIntent show list item {ListNumber}
selectNumberIntent get list item {ListNumber}
selectNumberIntent load list item {ListNumber}
selectNumberIntent go to list item {ListNumber}
selectNumberIntent fetch list item {ListNumber}
selectNumberIntent display list item {ListNumber}
Loading

0 comments on commit 5166648

Please sign in to comment.